HTML <bdo> Tag

Description

The <bdo> HTML element sets the direction of text output and is mainly intended for use with languages ​​where reading occurs from right to left. For example, the Arabic language refers to them.

Properties

Permitted Parents
Any element that accepts phrasing content
Content
Inline and text
Start/End Tags
Start tag: required, End tag: required

Example

<bdo dir="rtl">This text is going to be a bit difficult to read!</bdo>

Attributes

Attribute Definition
dir

Specifies the text direction for the content in an element.
Possible Values:

  • rtl  (Right to Left)
  • ltr  (Left to Right)

Global Attributes

The <a> tag also supports the Global Attributes in HTML5

Event Attributes

The <a> tag also supports the Event Attributes in HTML5

Browser Support

Desktop
Explorer Edge Chrome Firefox Opera Safari
Yes12YesYesYesYes
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung
YesYesYesYesYesYes

Last updated by CSSPortal on: 6th December 2019