There are three types of internationalization attributes i.e. dir, lang, xml:lang
The dir attribute tells the browser in which direction should the text flow. There are two types of dir attributes:
ltr: Left to right
rtl: Right to lef
This attribute is replaced by xml:lang attribute. Earlier it was used to indicate the language for the web page.
Value for the xml:lang should be ISO-639 country code..