HTML <bdo> Tag | HTML Tutorial


Specify the text direction:
<bdo dir="rtl">Here is some Hebrew text!</bdo>

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

Internet Explorer Firefox Opera Google Chrome Safari
The <bdo> tag is supported in all major browsers.
Note: This tag is not supported in Safari version 2 and

Differences Between HTML and XHTML


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

Event Attributes

  • The <bdo> tag does not support any event attributes.
Next Post »

If you still didn't find what you're looking for, you can search this website below: