HTML Language
Codes
A language code is used to indicate the language of the content.
Description
The following table lists the two-letter ISO 639 language codes (sorted alphabetically by language) that can be used with the lang
and xml:lang
attributes to indicate the language contained inside the element in HTML and XHTML document. Language codes are case-insensitive.
Language Family | Language | ISO Code |
---|---|---|
Northwest Caucasian | Abkhazian | ab |
Afro-Asiatic | Afar | aa |
Indo-European | Afrikaans | af |
ndo-European | Albanian | sq |
Afro-Asiatic | Amharic | am |
Afro-Asiatic | Arabic | ar |
Indo-European | Aragonese | an |
Indo-European | Armenian | hy |
Indo-European | Assamese | as |
Aymaran | Aymara | ay |
Turkic | Azerbaijani | az |
Turkic | Bashkir | ba |
Language isolate | Basque | eu |
Indo-European | Bengali (Bangla) | bn |
Sino-Tibetan | Bhutani | dz |
Indo-European | Bihari | bh |
Creole | Bislama | bi |
Indo-European | Breton | br |
Indo-European | Bulgarian | bg |
Sino-Tibetan | Burmese | my |
Indo-European | Byelorussian (Belarusian) | be |
Austro-Asiatic | Cambodian | km |
Indo-European | Catalan | ca |
Sino-Tibetan | Chinese | zh |
Indo-European | Corsican | co |
Indo-European | Croatian | hr |
Indo-European | Czech | cs |
Indo-European | Danish | da |
Indo-European | Dutch | nl |
Indo-European | English (American) | en |
Constructed | Esperanto | eo |
Uralic | Estonian | et |
Indo-European | Faeroese | fo |
Indo-European | Farsi | fa |
Austronesian | Fiji | fj |
Uralic | Finnish | fi |
Indo-European | French | fr |
Indo-European | Frisian | fy |
Indo-European | Gaelic (Scottish) | gd |
Indo-European | Gaelic (Manx) | gv |
Indo-European | Galician | gl |
South Caucasian | Georgian | ka |
Indo-European | German | de |
Indo-European | Greek | el |
Eskimo-Aleut | Kalaallisut (Greenlandic) | kl |
Tupian | Guarani | gn |
Indo-European | Gujarati | gu |
Creole | Haitian Creole | ht |
Afro-Asiatic | Hausa | ha |
Afro-Asiatic | Hebrew | he, iw |
Indo-European | Hindi | hi |
Uralic | Hungarian | hu |
Indo-European | Icelandic | is |
Constructed | Ido | io |
Austronesian | Indonesian | id, in |
Constructed | Interlingua | ia |
Constructed | Interlingue | ie |
Eskimo-Aleut | Inuktitut | iu |
Eskimo-Aleut | Inupiak | ik |
Indo-European | Irish | ga |
Indo-European | Italian | it |
Japonic | Japanese | ja |
Austronesian | Javanese | jv |
Dravidian | Kannada | kn |
Indo-European | Kashmiri | ks |
Turkic | Kazakh | kk |
Niger-Congo | Kinyarwanda (Ruanda) | rw |
Turkic | Kirghiz | ky |
Niger-Congo | Kirundi (Rundi) | rn |
Language isolate | Korean | ko |
Indo-European | Kurdish | ku |
Tai-Kadai | Laothian | lo |
Indo-European | Latin | la |
Indo-European | Latvian (Lettish) | lv |
Indo-European | Limburgish ( Limburger) | li |
Niger-Congo | Lingala | ln |
Indo-European | Lithuanian | lt |
Indo-European | Macedonian | mk |
Austronesian | Malagasy | mg |
Austronesian | Malay | ms |
Austronesian | Malayalam | ml |
Afro-Asiatic | Maltese | mt |
Austronesian | Maori | mi |
Indo-European | Marathi | mr |
Indo-European | Moldavian | mo |
Mongolic | Mongolian | mn |
Austronesian | Nauru | na |
Indo-European | Nepali | ne |
Indo-European | Norwegian | no |
Indo-European | Occitan | oc |
Indo-European | Oriya | or |
Afro-Asiatic | Oromo (Afan, Galla) | om |
Indo-European | Pashto (Pushto) | ps |
Indo-European | Polish | pl |
Indo-European | Portuguese | pt |
Indo-European | Punjabi | pa |
Quechuan | Quechua | qu |
Indo-European | Rhaeto-Romance | rm |
Indo-European | Romanian | ro |
Indo-European | Russian | ru |
Austronesian | Samoan | sm |
Creole | Sango | sg |
Indo-European | Sanskrit | sa |
Indo-European | Serbian | sr |
Indo-European | Serbo-Croatian | sh |
Niger-Congo | Sesotho | st |
Niger-Congo | Setswana | tn |
Niger-Congo | Shona | sn |
Sino-Tibetan | Sichuan Yi | ii |
Indo-European | Sindhi | sd |
Indo-European | Sinhalese | si |
Niger-Congo | Siswati | ss |
Indo-European | Slovak | sk |
Indo-European | Slovenian | sl |
Afro-Asiatic | Somali | so |
Indo-European | Spanish | es |
Austronesian | Sundanese | su |
Niger-Congo | Swahili (Kiswahili) | sw |
Indo-European | Swedish | sv |
Austronesian | Tagalog | tl |
Indo-European | Tajik | tg |
Dravidian | Tamil | ta |
Turkic | Tatar | tt |
Dravidian | Telugu | te |
Tai-Kadai | Thai | th |
Sino-Tibetan | Tibetan | bo |
Afro-Asiatic | Tigrinya | ti |
Austronesian | Tonga | to |
Niger-Congo | Tsonga | ts |
Turkic | Turkish | tr |
Turkic | Turkmen | tk |
Niger-Congo | Twi | tw |
Turkic | Uighur | ug |
Indo-European | Ukrainian | uk |
Indo-European | Urdu | ur |
Turkic | Uzbek | uz |
Austro-Asiatic | Vietnamese | vi |
Constructed | Volapük | vo |
Indo-European | Wallon | wa |
Indo-European | Welsh | cy |
Niger-Congo | Wolof | wo |
Niger-Congo | Xhosa | xh |
Indo-European | Yiddish | yi, ji |
Niger-Congo | Yoruba | yo |
Niger-Congo | Zulu | zu |