HTML <bdo> tag
Examples
Specifies the text direction:
<p>该段落文字从左到右显示。</p>
<p><bdo dir="rtl">该段落文字从右到左显示。</bdo></p>
<p><bdo dir="rtl">该段落文字从右到左显示。</bdo></p>
try it"
Browser Support
All major browsers support <bdo> tag.
Tag definitions and instructions
bdo refers bidi cover (Bi-Directional Override).
<Bdo> tag is used to override the default text direction.
Differences between HTML 4.01 and HTML5
no.
Attributes
属性 | 值 | 描述 |
---|---|---|
dir | ltr rtl |
必需。规定 <bdo> 元素内的文本方向。 |
Global Properties
<bdo> tag supports HTML global properties .
Event Properties
<bdo> tag supports HTML event properties .