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.
|
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 | |||||
Yes | 12 | Yes | Yes | Yes | Yes |
Tablets / Mobile | |||||
![]() |
|||||
Yes | Yes | Yes | Yes | Yes | Yes |
Last updated by CSSPortal on: 6th December 2019