Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML tag

HTML tag

Example

Specify the text direction:

<

p

The text in this paragraph is displayed from left to right.

p

<

p

<

bdo

dir

=

"

rtl

"

The text in this paragraph is displayed from right to left.

bdo

p

Try it »


Browser support

Internet Explorer Firefox Opera Google Chrome Safari

All major browsers support tag.


Tag Definition and Usage Notes

bdo stands for bidi override (Bi-Directional Override).

The tag is used to override the default text direction.


Differences between HTML 4.01 and HTML5

none.


property

property Value Description
dir ltr
rtl Required. Specifies a the text direction inside the element.

Global Attributes

The tag supports HTML Global Attributes.


Event attribute

The tag supports HTML Event Attributes.