I18N Attribute Collection


 
Reference: *W3C - XHTML Modularisation 1.1 - Attribute Collections

Attributes in this Collection

xml:lang [ type LanguageCode ]
A language code for the element
dir [ type Enumeration (ltr | rtl) ], from the Bi-directional Text Module
Left-to-right or right-to-left directionality

Where to Use Attributes in this Collection


Description

Just in case you were wondering, the unfeasibly long (for impatient typists) name "Internationalisation" (or "Internationalization" if you're from the States) is usually shortened to "I18N" because 18 is the number of letters between the I and the N which are missed out in the abbreviation.

There are two attributes in the I18N Attribute Collection: xml:lang and dir. The xml:lang attribute allows the language of an element's content to be specified. The dir attribute allows control of text directionality, if required, to achieve the desired document rendering. The use of dir requires that the Bi-directional Text Module is selected, which it is in the default DTD.


Page Footer & Copyright

Copyright © Sally Maughan 2005-2009 (Page last updated on 16 May 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 > Common Attributes (XHTML 1.1) > I18N Attribute Collection