HTML ISO Language Code Reference
HTML Language Code Reference
ISO Language Codes
You should always include the lang attribute inside the <html> tag, to declare the language of the Web page. This is meant to assist search engines and browsers:
<html lang="en">
...
</html>
In XHTML, the language is declared inside the <html> tag as follows:
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
...
</html>
ISO 639-1 Language Codes
ISO 639-1 defines abbreviations for languages:
See also: Reference for Country Codes.
LanguageISO CodeAbkhazianabAfaraaAfrikaansafAkanakAlbaniansqAmharicamArabicarAragoneseanArmenianhyAssameseasAvaricavAvestanaeAymaraayAzerbaijaniazBambarabmBashkirbaBasqueeuBelarusianbeBengali (Bangla)bnBiharibhBislamabiBosnianbsBretonbrBulgarianbgBurmesemyCatalancaChamorrochChechenceChichewa, Chewa, NyanjanyChinesezhChinese (Simplified)zh-HansChinese (Traditional)zh-HantChuvashcvCornishkwCorsicancoCreecrCroatianhrCzechcsDanishdaDivehi, Dhivehi, MaldiviandvDutchnlDzongkhadzEnglishenEsperantoeoEstonianetEweeeFaroesefoFijianfjFinnishfiFrenchfrFula, Fulah, Pulaar, PularffGalicianglGaelic (Scottish)gdGaelic (Manx)gvGeorgiankaGermandeGreekelGreenlandicklGuaranignGujaratiguHaitian CreolehtHausahaHebrewheHererohzHindihiHiri MotuhoHungarianhuIcelandicisIdoioIgboigIndonesianid, inInterlinguaiaInterlingueieInuktitutiuInupiakikIrishgaItalianitJapanesejaJavanesejvKalaallisut, GreenlandicklKannadaknKanurikrKashmiriksKazakhkkKhmerkmKikuyukiKinyarwanda (Rwanda)rwKirundirnKyrgyzkyKomikvKongokgKoreankoKurdishkuKwanyamakjLaoloLatinlaLatvian (Lettish)lvLimburgish ( Limburger)liLingalalnLithuanianltLuga-KatangaluLuganda, GandalgLuxembourgishlbManxgvMacedonianmkMalagasymgMalaymsMalayalammlMaltesemtMaorimiMarathimrMarshallesemhMoldavianmoMongolianmnNaurunaNavajonvNdongangNorthern NdebelendNepalineNorwegiannoNorwegian bokmålnbNorwegian nynorsknnNuosuiiOccitanocOjibweojOld Church Slavonic, Old BulgariancuOriyaorOromo (Afaan Oromo)omOssetianosPālipiPashto, PushtopsPersian (Farsi)faPolishplPortugueseptPunjabi (Eastern)paQuechuaquRomanshrmRomanianroRussianruSamiseSamoansmSangosgSanskritsaSerbiansrSerbo-CroatianshSesothostSetswanatnShonasnSichuan YiiiSindhisdSinhalesesiSiswatissSlovakskSlovenianslSomalisoSouthern NdebelenrSpanishesSundanesesuSwahili (Kiswahili)swSwatissSwedishsvTagalogtlTahitiantyTajiktgTamiltaTatarttTeluguteThaithTibetanboTigrinyatiTongatoTsongatsTurkishtrTurkmentkTwitwUyghurugUkrainianukUrduurUzbekuzVendaveVietnameseviVolapükvoWallonwaWelshcyWolofwoWestern FrisianfyXhosaxhYiddishyi, jiYorubayoZhuang, ChuangzaZuluzu