Home HTML HTML bdo Tag with Example

HTML bdo Tag with Example

21
0

The bdo stands for Bi-Directional Override. HTML <bdo> tag overrides the current text direction. The bdo tag doesn’t alter the language or other scripts and it serves as a identifier.

Sample Code

<!–bdo right-to-left sample code–>
<bdo dir="rtl">
right-to-left example
</bdo>
<br />
<!–bdo left-to-right sample code–>
<bdo dir="ltr">
left-to-right example
</bdo>

Sample Result

right-to-left example
left-to-right example
Tip: You can see the complete List of HTML Elements here.

Tag Specific Attributes Support

Following are few bdo tag attributes that are supported by <bdo> tag.

Attribute Value Description
dir  
ltr
rtl
Represents the text direction
change text direction from left-to-right
change text direction from right-to-left

Standard Attributes Support

HTML <bdo> tag supports HTML Attributes. You can get more details about available HTML Attributes here.

Event Attributes Support

HTML <bdo> tag supports Event Attributes. You can get more details about available HTML Event Attributes here.

Previous articleHTML bdi Tag with Example
Next articleHTML big Tag with Example
Hi there, I am Mayank, the man behind Technical Mack. I started AspnetO with a motive to educate people on various programming languages ranging from beginners to expert level. Through this blog, I aim to provide more insightful content.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

seventeen − thirteen =