< Previous | HTML 4.01 Tags / XHTML 1.0 Elements | Next >
Free XHTML 1.0 Class | HTML Validators | Free HTML 4.01 Class
<bdo> Description:
The bi-directional algorithm tag defines or alters the default algorithm used for the language and display direction.
<bdo> Web Browser Support:
<bdo> Attributes:
All attributes are optional unless indicated.
<bdo> End Tag:
</bdo> REQUIRED<bdo> Contents:
CDATA Usually text. HTML content is typically rendered from left to right. The <bdo> tag defines the language and direction for non-English languages, especially where the direction of the content may be unclear. The following tags are valid within the <bdo> tag:
a, abbr, acronym, applet, b, basefont, bdo, big, br, button, cite, code, dfn, em, font, i, iframe, img, input, kbd, label, map, object, q, s, samp, script, select, small, span, strike, strong, sub, sup, textarea, tt, u, var
<bdo> Valid Context:
The <bdo> tag is valid within the following tags:
a, abbr, acronym, address, applet, b, bdo, big, blockquote, body, button, caption, center, cite, code, dd, del, dfn, div, dt, em, fieldset, font, form, h1, h2, h3, h4, h5, h6, i, iframe, ins, kbd, label, legend, li, noframes, noscript, object, p, pre, q, s, samp, small, span, strike, strong, sub, sup, td, th, tt, u, var
<bdo> Usage:
- English text
<bdo lang=\"en\" dir=\"ltr\">This is standard English</bdo>
View
<bdo lang=\"en-US\" dir=\"ltr\">This is US English</bdo> - Hebrew text
<bdo lang=\"he\" dir=\"rtl\">something written in Hebrew</bdo>
View
<bdo> Special Notes:
- Keep in mind that this tag doesn't alter the language or direction of the text, but rather, it serves as an identifier for the text that it surrounds.
- Be careful using this as cross-browser support isn't good.
More <bdo> Information:
< Previous | HTML 4.01 Tags / XHTML 1.0 Elements | Next >
Free XHTML 1.0 Class | HTML Validators | Free HTML 4.01 Class

