X
HOME HTML CSS JAVASCRIPT SQL PHP JQUERY XML ASP.NET 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 »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The dir attribute is supported in all major browsers.


Definition and Usage

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


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 BUILDING

Download XML Editor FREE Website BUILDER Free HTML5 Templates FREE Website Templates Free HTML Templates

SHARE THIS PAGE

facebook