bdo Element


 

Module

The bdo element is an inline element declared by the XHTML 1.1 Bi-directional Text Module

This is the only element in this Module.

Description

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.

#REQUIRED Attributes

The dir attribute is #REQUIRED on the bdo element.


Specific Attributes

There are no specific attributes declared on the bdo element.


Common Attributes

Common attributes of the bdo element are listed below:

From the Core Attribute Collection

class [ type NMTOKENS ]
One or more space separated classes
id [ type ID ]
A unique identifier for the element
style [ type CDATA ], from the Style Attribute Module (deprecated)
Element-specific styles
title [ type Text ]
Descriptive title for the element (in some user agents this may appear as a "tooltip" when the mouse hovers over the element)
xmlns [ type URI - #FIXED 'http://www.w3.org/1999/xhtml' ]
XML namespace

From the I18N Attribute Collection

dir [ type Enumeration (ltr | rtl) - #REQUIRED ], from the Bi-directional Text Module
Left-to-right or right-to-left directionality of text, on a character-by-character basis, overriding the UNICODE bi-directional algorithm
xml:lang [ type LanguageCode ]
A language code for the element

Content Model

The Content Model for the bdo element is:

( #PCDATA | Inline.mix )*

See Content Model & Nesting for information about Content Model syntax and Nesting Groups.

Valid children of bdo

Valid parents of bdo


Page Footer & Copyright

Copyright © Sally Maughan 2005-2009 (Page last updated on 01 Oct 2009)

*Valid XHTML 1.1 - hosted by *Openstrike

Content based on the W3C Working Draft: *XHTML 1.1 and Recommendation: *XHTML Modularisation 1.1.

W3C, XHTML, XML, HTML, CSS and MathML are *Trademarks of the W3C (*MIT, *ERCIM, *Keio) with which the site's author has no connection.


Up, Next & Previous Links

Your Location

Home > XHTML 1.1 Home > XHTML 1.1 Indexes > Element Index (XHTML 1.1) > bdo Element