International attributes

The following attributes are used on the same elements as the core attributes, with the exception of Bdo and Break Line, but in addition are used in the Html, Head, Title, Meta, Style and Map elements.

Language

The Language (Lang) attribute describes the human language used for the textual content of the element. It is included for backward compatibility with HTML:

<p lang="EN">This is an English paragraph.</p>

The XML equivalent attribute, XML Lang, should be used instead:

<p xml:lang="EN">This is an English paragraph.</p>

Direction

The Direction (Dir) attribute describes the direction of writing that is conventional for the human language concerned. It takes a value of 'ltr' (left to right) or 'rtl' (right to left):

<p lang="EN" dir="ltr">This is an English
paragraph read from left to right.</p>

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.190.217.134