1、HTML 语言代码参考手册 Previous Page Next Page ISO 语言代码HTML 的 lang 属性可用于网页或部分网页的语言。这对搜索引擎和浏览器是有帮助的。根据 W3C 推荐标准,您应该通过 标签中的 lang 属性对每张页面中的主要语言进行声明,比如:.在 XHTML 中,采用如下方式在 标签中对语言进行声明:.ISO 639-1 语言代码ISO 639-1 为各种语言定义了缩略词。您可以在 HTML 和 XHTML 中的 lang 和 xml:lang 属性中使用它们。Language ISO CodeAbkhazian abAfar aaAfrikaans afA
2、lbanian sqAmharic amArabic arArmenian hyAssamese asAymara ayAzerbaijani azBashkir baBasque euBengali (Bangla) bnBhutani dzBihari bhBislama biBreton brBulgarian bgBurmese myByelorussian (Belarusian) beCambodian kmCatalan caCherokeeChewaChinese (Simplified) zhChinese (Traditional) zhCorsican coCroatia
3、n hrCzech csDanish daDivehiDutch nlEdoEnglish enEsperanto eoEstonian etFaeroese foFarsi faFiji fjFinnish fiFlemishFrench frFrisian fyFulfuldeGalician glGaelic (Scottish) gdGaelic (Manx) gvGeorgian kaGerman deGreek elGreenlandic klGuarani gnGujarati guHausa haHawaiianHebrew he, iwHindi hiHungarian hu
4、IbibioIcelandic isIgboIndonesian id, inInterlingua iaInterlingue ieInuktitut iuInupiak ikIrish gaItalian itJapanese jaJavanese jvKannada knKanuriKashmiri ksKazakh kkKinyarwanda (Ruanda) rwKirghiz kyKirundi (Rundi) rnKonkaniKorean koKurdish kuLaothian loLatin laLatvian (Lettish) lvLimburgish ( Limbur
5、ger) liLingala lnLithuanian ltMacedonian mkMalagasy mgMalay msMalayalam mlMaltese mtMaori miMarathi mrMoldavian moMongolian mnNauru naNepali neNorwegian noOccitan ocOriya orOromo (Afan, Galla) omPapiamentuPashto (Pushto) psPolish plPortuguese ptPunjabi paQuechua quRhaeto-Romance rmRomanian roRussian
6、 ruSami (Lappish)Samoan smSangro sgSanskrit saSerbian srSerbo-Croatian shSesotho stSetswana tnShona snSindhi sdSinhalese siSiswati ssSlovak skSlovenian slSomali soSpanish esSundanese suSwahili (Kiswahili) swSwedish svSyriacTagalog tlTajik tgTamazightTamil taTatar ttTelugu teThai thTibetan boTigrinya tiTonga toTsonga tsTurkish trTurkmen tkTwi twUighur ugUkrainian ukUrdu urUzbek uzVendaVietnamese viVolapuk voWelsh cyWolof woXhosa xhYiYiddish yi, jiYoruba yoZulu zu