HTML <bdo> Tag


Specify the text direction:

<bdo dir="rtl">RTL text</bdo>
Code it Online ยป

Definition and Usage

bdo stand for bidirectional override.

The <bdo> tag allows you to specify the text direction and override the bidirectional algorithm.

Browser Support

The <bdo> tag is supported in all major browsers.

Note: This tag is not supported in Safari version 2 and earlier.

Required Attributes

DTD indicates in which HTML 4.01/XHTML 1.0 DTD the attribute is allowed. S=Strict, T=Transitional, and F=Frameset.

Attribute Value Description DTD
dir ltr
Specifies the text direction of the text inside a bdo element STF

Standard Attributes

The <bdo> tag supports the following standard attributes:

Attribute Value Description DTD
class classname Specifies a classname for an element STF
id id Specifies a unique id for an element STF
lang language_code Specifies a language code for the content in an element STF
style style_definition Specifies an inline style for an element STF
title text Specifies extra information about an element STF
xml:lang language_code Specifies a language code for the content in an element, in XHTML documents STF

More information about Standard Attributes.

Event Attributes

The <bdo> tag does not support any event attributes.

More information about Event Attributes.

Have Any Suggestion? We Are Waiting To Hear from YOU!

Your Query was successfully sent!