HTML <bdo> (Bidirectional Override) Tag

❮ Previous Reference Next ❯


<p><bdo dir="rtl">This text will go from right to left.</bdo></p>


The <bdo> element is used to override the current directionality of text.

Version: HTML 4, 4.01, 5

Standard Syntax

<bdo dir="ltr|rtl">text</bdo>

Browser Support



Attribute Value Description
dir ltr
The direction in which text should be rendered.

Global Attributes

<bdo> element also supports the Global Attributes in HTML.

Event Attributes

<bdo> element also supports the Event Attributes in HTML.

By Default CSS Value(s)

Most of the browsers will display the <> element with the following by default value(s)

bdo {
	unicode-bidi: bidi-override;

Related Tags:

<a>, <abbr>, <b>, <bdi>, <br>, <cite>, <code>, <data>, <dfn>, <em>, <i>, <kbd>, <mark>, <q>, <rp>, <rt>, <ruby>, <s>, <samp>, <small>, <span>, <strong>, <sub>, <sup>, <time>, <u>, <var> and <wbr>

❮ Previous Reference Next ❯