Advertisement
❮ Previous: <bdi> Next: <blockquote> ❯

<bdo>

HTML <bdo> (Bidirectional Override) Tag

Example

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

Try this code ❯

Meaning

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>


Advertisement

Attributes

Attribute Value Description
dir ltr
rtl
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 <bdo> 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: <bdi> Next: <blockquote> ❯
Advertisement