Javatpoint Logo
Javatpoint Logo

HTML <bdo> tag

HTML <bdo> tag stands for "bidirectional override" which is used to overrides the current/default text direction. This tag sets the direction of content within it to render on browser from left to right or right to left.

The <bdo> tag is useful for the languages which are written from right to left such as Arabic and Hebrew.

Syntax

Following are some specifications about the <bdo> tag

Display Inline
Start tag/End tag Both start and End tag
Usage textual

Example

Test it Now

Output:

HTML bdo tag

Attributes

Tag-specific attributes

Attribute Value Description
dir
ltr Defines the directionality from left to right.
rtl Defines the directionality from right to left.

Global Attributes

The <bdo> tag supports the Global attribute in HTML.

Event Attributes

The <bdo> tag supports the Event attribute in HTML.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
<bdo>YesYesYesYesYes
Next TopicHTML big Tag




Help Others, Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA