Skip to content
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

Post on X Share on LinkedIN Post on Reddit

© 2024 Raqueebuddin Aziz. All rights reserved.