X
HOME HTML5 CSS3 JAVASCRIPT SQL PHP5 JQUERY ANGULAR BOOTSTRAP3 XML MORE...
REFERENCES | EXAMPLES | FORUM | ABOUT

HTML <bdo> dir Attribute

HTML bdo Tag Reference HTML <bdo> tag

Example

Specify the text direction:

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

Try it Yourself »

Definition and Usage

The required dir attribute specifies the text direction of the text inside a <bdo> element.


Browser Support

Attribute
dir Yes Yes Yes Yes Yes


Differences Between HTML 4.01 and HTML5

NONE.


Syntax

<bdo dir="ltr|rtl">

Attribute Values

Value Description
ltr Left-to-right text direction
rtl Right-to-left text direction


HTML bdo Tag Reference HTML <bdo> tag

Your suggestion:

Close [X]

Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

WEB HOSTING

UK Reseller Hosting

WEB BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates

SHARE THIS PAGE

facebook