ExampleSpecify the text direction: |
Browser Support |
1. Definition and Usage
bdo stands for Bi-Directional Override.
The <bdo> tag is used to override the current text direction.
2. Differences Between HTML 4.01 and HTML5
None
3. 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 rtl |
Specifies the text direction of the text inside a <bdo> element | STF |
4. Standard Attributes
The <bdo> tag supports the Standard Attributes in HTML.
5. Event Attributes
The <bdo> tag also supports the Standard Event Attributes in HTML.