Skip to content
Click Here to get a free report on how to make your website faster
RSS
HTML BDO Tag Explained

By

Raqueebuddin Aziz

July 13, 2023

Freelance Web Designer & Developer

HTML BDO Tag Explained

The bdo (bi-directional override) tag can be used to override the text direction in your HTML.

Usage

You can use the dir attribute with the bdo tag to override the default text directionality. Note that the dir attribute has special behavior with the bdo tag.

<p>This is normal direction for English language</p>
<p dir="rtl">
	This is RTL direction for English language but the text still flows left to right and is readable
</p>
<bdo dir="rtl">
	This is RTL direction for English language but the text flows right to left and is hard to read
</bdo>

This is normal direction for English language

This is RTL direction for English language but the text still flows left to right and is readable

This is RTL direction for English language but the text flows right to left and is hard to read

Conclusion

I can’t think of any practical use cases for the bdo tag except for games I guess. It’s a weird tag but if it’s exists there is probably a use case for it.

Leave a comment down below, if you have a use case for the bdo tag

Tweet Share on LinkedIN Post on Reddit

Looking for a dev to build a MVP for your tech startup?

I can help you out.

Contact

We use cookies to enhance your browsing experience and analyze website traffic. By continuing to use our website, you consent to the use of cookies in accordance with our Privacy Policy.

Privacy Policy