bdo ElementThe bdo element is an inline element declared by the XHTML 1.1 Bi-directional Text Module
This is the only element in this Module.
The bdo element is an inline element and is used in situations where it is necessary to override the inherent
directionality (left-to-right or right-to-left) of the element's text content on a character-by-character basis.
The dir attribute is mandatory on this element and must given either of the
two values "rtl" or "ltr". For more information, see
*W3C HTML4.01: Overriding the bidirectional algorithm
which covers use of the element in HTML 4.01 - it has the same functionality in XHTML 1.1.
A language code may also be specified using the optional
xml:lang attribute.
For more detail, see the dir attribute.
The dir attribute is #REQUIRED on the bdo element.
There are no specific attributes declared on the bdo element.
bdo element are listed below:class [ type NMTOKENS ]id [ type ID ]style [ type CDATA ], from the Style Attribute Module (deprecated)title [ type Text ]xmlns [ type URI - #FIXED 'http://www.w3.org/1999/xhtml' ]dir [ type Enumeration (ltr | rtl) - #REQUIRED ], from the Bi-directional Text Modulexml:lang [ type LanguageCode ]bdo element is:
( #PCDATA | Inline.mix )*
See Content Model & Nesting for information about Content Model syntax and Nesting Groups.
bdoabbr, acronym, br, cite, code, dfn, em, kbd, q, samp, span, strong, varabutton, input, label, select, textareaimgb, big, i, small, sub, sup, ttmapnoscript, scriptdel, insbdoobjectrubybdoabbr, acronym, address, cite, code, dfn, div, em, h1 - h6, kbd, p, pre, q, samp, span, strong, varadd, dt, licaption, td, thbutton, fieldset, label, legendb, big, i, small, sub, sup, ttdel, insbdoobjectrb, rt