Trusted answers to developer questions
Trusted Answers to Developer Questions

Related Tags

html

What is the <bdo> element in HTML?

Muhammad Ashir

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

The bi-directional text override <bdo> element tells the browser to override the directionality of the text with the one specified in the dir attribute.

Attributes

<bdo> supports all global attributes. The direction attribute dir takes on the following values for the directionality of the text:

dir

Description

ltr

represents if the text needs to be rendered from left-to-right


rtl

represents if the text needs to be rendered from right-to-left 

Code

In the above code, the text in the <bdo dir="rtl"> tag will be rendered from right-to-left even though its default direction is left-to-right.

RELATED TAGS

html

CONTRIBUTOR

Muhammad Ashir
Copyright ©2022 Educative, Inc. All rights reserved

Grokking Modern System Design Interview for Engineers & Managers

Ace your System Design Interview and take your career to the next level. Learn to handle the design of applications like Netflix, Quora, Facebook, Uber, and many more in a 45-min interview. Learn the RESHADED framework for architecting web-scale applications by determining requirements, constraints, and assumptions before diving into a step-by-step design process.

Keep Exploring