html5 Site Icon CSS3 Site Icon CSS Site Icon

HTML4 Reference

HTML <bdo> tag

Definition

The <bdo> tag is used to define a birectional override for some text.

Example


<bdo dir="ltr">The text will flow from left to right</bdo>

Required Attributes

dir - specifies the directional flow of the content.


<!-- Valid vlaues are ltr and rtl -->

<!-- The text will flow from left to right -->
<bdo dir="ltr">Some text here</bdo>

<!-- The text will flow from right to left -->
<bdo dir="rtl">Some text here</bdo>

Optional Attributes

NONE

Common Attributes

class - specifies a classname for the element allowing you to apply the style of the predefined class to the content.


<bdo class="classname">Some text here</bdo>

id - specifies a unique id for the element allowing you to apply the style of the predefined id to the content.


<bdo id="idname">Some text here</bdo>

style - specifies an inline style for the element allowing you to apply the style to the content.


<bdo style="color:red;text-align:left">Some text here</bdo>

title - specifies extra information about the content.


<bdo title="information about the content">Some text here</bdo>

Language Attributes

lang - specifies a language code for the content of the element.


<bdo lang="en">Some text here</bdo>

xml:lang - specifies a language code for the content of the element in XHTML documents.


<bdo xml:lang="fr">Some text here</bdo>

Event Attributes

NONE



<basefont /> tag    << Prev          Next >>   <big> tag

go to home page Homepage go to top of page Top