HTML <bdo> Tag Overrides the current text direction. BDO stands for Bi-Directional Override. The |
Example:
HTML
<p>This paragraph will go left-to-right.</p>
<p><bdo dir="rtl">This paragraph will go right-to-left.</bdo></p>
Attribute | Value | Description |
---|---|---|
dir | ltr rtl |
Required. Specifies the text direction of the text inside the <bdo> element |
Most browsers will display the <bdo>
element with the following default values:
<style>
bdo {
unicode-bidi: bidi-override;
}
</style>
Specify the text direction.
The required dir
attribute specifies the text direction of the text inside a <bdo>
element.
<bdo dir="ltr|rtl">
Value | Description |
---|---|
ltr | Left-to-right text direction |
rtl | Right-to-left text direction |
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The bdo rtl attribute</h1>
<p>Hello world. <bdo dir="rtl">Hello world</bdo></p>
</body>
</html>
ltr | Left-to-right text direction |
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The bdo rtl attribute</h1>
<p>Hello world. <bdo dir="ltr">Hello world</bdo></p>
</body>
</html>
rtl | Right-to-left text direction |
Example:
HTML
<!DOCTYPE html>
<html>
<body>
<h1>The bdo rtl attribute</h1>
<p>Hello world. <bdo dir="rtl">Hello world</bdo></p>
</body>
</html>
How to create HTML <bdo> Tag | HTML Tag |
What Type of Browsers will Support for HTML <bdo> Tag | HTML Tag |
Attributes for HTML <bdo> Tag | HTML Tag |
How to set Default CSS Settings for HTML <bdo> Tag | HTML Tag |
How to add HTML <bdo> dir Attribute | HTML Tag |
How to add HTML <bdo> dir ltr Attribute | HTML Tag |
How to add HTML <bdo> dir rtl Attribute | HTML Tag |
Read Full:: | HTML Tag |
Category: | Web Tutorial |
Sub Category: | HTML Tag |
Uploaded: | 7 months ago |
Uploaded by: | Admin |
Views: | 3 |
Ref on: | View |