- HTML 教程
- HTML 教程
- HTML - 简介
- HTML - 编辑器
- HTML - 基本标签
- HTML - 元素
- HTML - 属性
- HTML - 标题
- HTML - 段落
- HTML - 字体
- HTML - 块和内联元素
- HTML - 样式表
- HTML - 文本格式化
- HTML - 引用
- HTML - 注释
- HTML - 颜色
- HTML - 图像
- HTML - 图像映射
- HTML - iframe
- HTML - 短语标签
- HTML - 类
- HTML - ID
- HTML - 背景
- HTML 表格
- HTML - 表格
- HTML - 表格标题
- HTML - 表格样式
- HTML - 表格 Colgroup
- HTML - 嵌套表格
- HTML 列表
- HTML - 列表
- HTML - 无序列表
- HTML - 有序列表
- HTML - 定义列表
- HTML 链接
- HTML - 文本链接
- HTML - 图片链接
- HTML - 电子邮件链接
- HTML 颜色名称和值
- HTML - 颜色名称
- HTML - RGB 和 RGBA 颜色
- HTML - 十六进制颜色
- HTML - HSL 和 HSLA 颜色
- HTML 表单
- HTML - 表单
- HTML - 表单属性
- HTML - 表单控件
- HTML - 输入属性
- HTML 媒体
- HTML - 视频元素
- HTML - 音频元素
- HTML - 嵌入多媒体
- HTML 标头
- HTML - 头部
- HTML - 网站图标
- HTML - JavaScript
- HTML 布局
- HTML - 布局
- HTML - 布局元素
- HTML - CSS布局
- HTML - 响应式网页设计
- HTML - 特殊符号
- HTML - 表情符号
- HTML - 样式指南
- HTML 图形
- HTML - SVG
- HTML - 画布
- HTML API 接口
- HTML - Geolocation API
- HTML - 拖放 API
- HTML - Web Workers API
- HTML - WebSockets
- HTML - Web 存储
- HTML - 服务器发送事件
- HTML 杂项
- HTML - 数学标记语言
- HTML - 微观数据
- HTML - 索引数据库
- HTML - Web 消息传递
- HTML - CORS
- HTML - Web RTC
- HTML 演示
- HTML - 音频播放器
- HTML - 视频播放器
- HTML - Web 幻灯片台
- HTML 工具
- HTML - 二维码
- HTML - Modernizr
- HTML - 验证器
- HTML 备忘单
- HTML - 标签参考
- HTML - 属性参考
- HTML - 事件参考
- HTML - 字体参考
- HTML - ASCII 代码参考
- HTML - 实体
- MIME 媒体类型
- HTML - URL 编码
- HTML - ISO 语言代码
- HTML - 字符编码
- HTML - 已弃用的标签和属性
HTML - ISO 语言代码
HTML ISO 语言 639 用作识别语言的标准化命名法。每种语言都分配了两个字母和三个字母的小写缩写。
ISO 639-1 也称为第 1 部分 ISO,定义了语言的双字母代码,ISO 639-3(第 3 部分 ISO)定义了所有已知自然语言的三字母代码。
ISO 代表国际标准化组织,这是一个独立的非政府组织标准化组织。
ISO 语言代码示例
在 HTML 中,语言代码在 <html> 标签中声明,如下所示:
<html lang="en">
<!--- other tags -->
</html>
在 XHTML 中,语言代码在 <html> 标签中声明,如下所示:
<html lang="en" xml:lang="en">
<!--- other tags -->
</html>
以下是 ISO 代码、Microsoft 代码和 Macintosh 代码之间的语言代码对应关系的草稿列表。此信息的来源是 Unicode Consortium。
语言代码 ISO 639, Microsoft
以下是下面列出的语言代码
语言 | ISO编码 | Windows 名称 | Win 代码 |
---|---|---|---|
Abkhazian | ab | ||
Afar | aa | ||
Afrikaans | af | LANG_AFRIKAANS | 0x36 |
Albanian | sq | LANG_ALBANIAN | 0x1c |
Amharic | am | (未定义常量) | 0x5e |
Arabic | ar | LANG_ARABIC | 0x01 |
Armenian | hy | LANG_ARMENIAN | 0x2b |
Assamese | as | LANG_ASSAMESE | 0x4d |
Aymara | ay | ||
Azerbaijani | az | LANG_AZERI | 0x2c |
Bashkir | ba | ||
Basque | eu | LANG_BASQUE | 0x2d |
Bengali (Bangla) | bn | LANG_BENGALI | 0x45 |
Bhutani | dz | ||
Bihari | bh | ||
Bislama | bi | ||
Breton | br | ||
Bulgarian | bg | LANG_BULGARIAN | 0x02 |
Burmese | my | (未定义常量) | 0x55 |
Byelorussian (Belarusian) | be | LANG_BELARUSIAN | 0x23 |
Cambodian | km | (未定义常量) | 0x53 |
Catalan | ca | LANG_CATALAN | 0x03 |
Cherokee | (未定义常量) | 0x5c | |
Chewa | |||
Chinese (Simplified) | zh | LANG_CHINESE (SUBLANG_CHINESE_SIMPLIFIED) | 0x04 (0x0804) |
Chinese (Traditional) | zh | LANG_CHINESE (SUBLANG_CHINESE_TRADITIONAL) | 0x04 (0x0404) |
Corsican | co | ||
Croatian | hr | LANG_CROATIAN | 0x1a |
Czech | cs | LANG_CZECH | 0x05 |
Danish | da | LANG_DANISH | 0x06 |
Divehi | LANG_DIVEHI | 0x65 | |
Dutch | nl | LANG_DUTCH | 0x13 |
Edo | (未定义常量) | 0x66 | |
English | en | LANG_ENGLISH | 0x09 |
Esperanto | eo | ||
Estonian | et | LANG_ESTONIAN | 0x25 |
Faeroese | fo | LANG_FAEROESE | 0x38 |
Farsi | fa | LANG_FARSI | 0x29 |
Fiji | fj | ||
Finnish | fi | LANG_FINNISH | 0x0b |
Flemish | LANG_DUTCH (SUBLANG_DUTCH_BELGIAN) | 0x13 (0x0813) | |
French | fr | LANG_FRENCH | 0x0c |
Frisian | fy | (未定义常量) | 0x62 |
Fulfulde | (未定义常量) | 0x67 | |
Galician | gl | LANG_GALICIAN | 0x56 |
Gaelic (Scottish) | gd | (未定义常量) | 0x3c (0x043c) |
Gaelic (Manx) | gv | ||
Georgian | ka | LANG_GEORGIAN | 0x37 |
German | de | LANG_GERMAN | 0x07 |
Greek | el | LANG_GREEK | 0x08 |
Greenlandic | kl | ||
Guarani | gn | (未定义常量) | 0x74 |
Gujarati | gu | LANG_GUJARATI | 0x47 |
Hausa | ha | (未定义常量) | 0x68 |
Hawaiian | (未定义常量) | 0x75 | |
Hebrew | he, iw* | LANG_HEBREW | 0x0d |
Hindi | hi | LANG_HINDI | 0x39 |
Hungarian | hu | LANG_HUNGARIAN | 0x0e |
Ibibio | (未定义常量) | 0x69 | |
Icelandic | is | LANG_ICELANDIC | 0x0f |
Igbo | (未定义常量) | 0x70 | |
Indonesian | id, in* | LANG_INDONESIAN | 0x21 |
Interlingua | ia | ||
Interlingue | ie | ||
Inuktitut | iu | (未定义常量) | 0x5d |
Inupiak | ik | ||
Irish | ga | (未定义常量) | 0x3c (0x083c) |
Italian | it | LANG_ITALIAN | 0x10 |
Japanese | ja | LANG_JAPANESE | 0x11 |
Javanese | jv | ||
Kannada | kn | LANG_KANNADA | 0x4b |
Kanuri | (未定义常量) | 0x71 | |
Kashmiri | ks | LANG_KASHMIRI | 0x60 |
Kazakh | kk | LANG_KAZAK | 0x3f |
Kinyarwanda (Ruanda) | rw | ||
Kirghiz | ky | LANG_KYRGYZ | 0x40 |
Kirundi (Rundi) | rn | ||
Konkani | LANG_KONKANI | 0x57 | |
Korean | ko | LANG_KOREAN | 0x12 |
Kurdish | ku | ||
Laothian | lo | (未定义常量) | 0x54 |
Latin | la | (未定义常量) | 0x76 |
Latvian (Lettish) | lv | LANG_LATVIAN | 0x26 |
Limburgish ( Limburger) | li | ||
Lingala | ln | ||
Lithuanian | lt | LANG_LITHUANIAN | 0x27 |
Macedonian | mk | LANG_MACEDONIAN | 0x2f |
Malagasy | mg | ||
Malay | ms | LANG_MALAY | 0x3e |
Malayalam | ml | LANG_MALAYALAM | 0x4c |
LANG_MANIPURI | 0x58 | ||
Maltese | mt | (未定义常量) | 0x3a |
Maori | mi | ||
Marathi | mr | LANG_MARATHI | 0x4e |
Moldavian | mo | ||
Mongolian | mn | LANG_MONGOLIAN | 0x50 |
Nauru | na | ||
Nepali | ne | LANG_NEPALI | 0x61 |
Norwegian | no | LANG_NORWEGIAN | 0x14 |
Occitan | oc | ||
Oriya | or | LANG_ORIYA | 0x48 |
Oromo (Afan, Galla) | om | (未定义常量) | 0x72 |
Papiamentu | (未定义常量) | 0x79 | |
Pashto (Pushto) | ps | (未定义常量) | 0x63 |
Polish | pl | LANG_POLISH | 0x15 |
Portuguese | pt | LANG_PORTUGUESE | 0x16 |
Punjabi | pa | LANG_PUNJABI | 0x46 |
Quechua | qu | ||
Rhaeto-Romance | rm | (未定义常量) | 0x17 |
Romanian | ro | LANG_ROMANIAN | 0x18 |
Russian | ru | LANG_RUSSIAN | 0x19 |
Sami (Lappish) | (未定义常量) | 0x3b | |
Samoan | sm | ||
Sangro | sg | ||
Sanskrit | sa | LANG_SANSKRIT | 0x4f |
Serbian | sr | LANG_SERBIAN (SUBLANG_SERBIAN_LATIN or SUBLANG_SERBIAN_CYRILLIC) | 0x1a (0x081a or 0x0c1a) |
Serbo-Croatian | sh | ||
Sesotho | st | ||
Setswana | tn | ||
Shona | sn | ||
Sindhi | sd | LANG_SINDHI | 0x59 |
Sinhalese | si | (未定义常量) | 0x5b |
Siswati | ss | ||
Slovak | sk | LANG_SLOVAK | 0x1b |
Slovenian | sl | LANG_SLOVENIAN | 0x24 |
Somali | so | (未定义常量) | 0x77 |
Spanish | es | LANG_SPANISH | 0x0a |
Sundanese | su | ||
Swahili (Kiswahili) | sw | LANG_SWAHILI | 0x41 |
Swedish | sv | LANG_SWEDISH | 0x1d |
Syriac | LANG_SYRIAC | 0x5a | |
Tagalog | tl | (未定义常量) | 0x64 |
Tajik | tg | (未定义常量) | 0x28 |
Tamazight | (未定义常量) | 0x5f | |
Tamil | ta | LANG_TAMIL | 0x49 |
Tatar | tt | LANG_TATAR | 0x44 |
Telugu | te | LANG_TELUGU | 0x4a |
Thai | th | LANG_THAI | 0x1e |
Tibetan | bo | (未定义常量) | 0x51 |
Tigrinya | ti | (未定义常量) | 0x73 |
Tonga | to | ||
Tsonga | ts | (未定义常量) | 0x31 |
Turkish | tr | LANG_TURKISH | 0x1f |
Turkmen | tk | (未定义常量) | 0x42 |
Twi | tw | ||
Uighur | ug | ||
Ukrainian | uk | LANG_UKRAINIAN | 0x22 |
Urdu | ur | LANG_URDU | 0x20 |
Uzbek | uz | LANG_UZBEK | 0x43 |
Venda | (未定义常量) | 0x33 | |
Vietnamese | vi | LANG_VIETNAMESE | 0x2a |
Volap?k | vo | ||
Welsh | cy | (未定义常量) | 0x52 |
Wolof | wo | ||
Xhosa | xh | (未定义常量) | 0x34 |
Yi | (未定义常量) | 0x78 | |
Yiddish | yi, ji* | (未定义常量) | 0x3d |
Yoruba | yo | (未定义常量) | 0x6a |
Zulu | zu | (未定义常量) | 0x35 |
语言代码 ISO 639, Macintosh
让我们看看下面列出的以下语言代码:
语言 | ISO编码 | Mac 名称 | Mac 代码 |
---|---|---|---|
Abkhazian | ab | ||
Afar | aa | ||
Afrikaans | af | langAfricaans | 141 |
Albanian | sq | langAlbanian | 36 |
Amharic | am | langAmharic | 85 |
Arabic | ar | langArabic | 12 |
Armenian | hy | langArmenian | 51 |
Assamese | as | langAssamese | 68 |
Aymara | ay | langAymara | 134 |
Azerbaijani | az | langAzerbaijani(Cyrllic), langAzerbaijanAr(Arabic) | 49(C), 50(A) |
Bashkir | ba | ||
Basque | eu | langBasque | 129 |
Bengali (Bangla) | bn | langBengali | 67 |
Bhutani | dz | langDzongkha | 137 |
Bihari | bh | ||
Bislama | bi | ||
Breton | br | langBreton | 142 |
Bulgarian | bg | langBulgarian | 44 |
Burmese | my | langBurmese | 77 |
Byelorussian (Belarusian) | be | langByelorussian | 46 |
Cambodian | km | langKhmer | 78 |
Catalan | ca | langCatalan | 130 |
Cherokee | |||
Chewa | langChewa | 92 | |
Chinese (Simplified) | zh | langSimpChinese | 33 |
Chinese (Traditional) | zh | langTradChinese | 19 |
Corsican | co | ||
Croatian | hr | langCroatian | 18 |
Czech | cs | langCzech | 38 |
Danish | da | langDanish | 7 |
Divehi | |||
Dutch | nl | langDutch | 4 |
Edo | |||
English | en | langEnglish | 0 |
Esperanto | eo | langEsperanto | 94 |
Estonian | et | langEstonian | 27 |
Faeroese | fo | langFaeroese | 30 |
Farsi | fa | langFarsi, langPersian | 31 |
Fiji | fj | ||
Finnish | fi | langFinnish | 13 |
Flemish | langFlemish | 34 | |
French | fr | langFrench | 1 |
Frisian | fy | ||
Fulfulde | |||
Galician | gl | langGalician | 140 |
Gaelic (Scottish) | gd | langScottishGaelic | 144 |
Gaelic (Manx) | gv | langManxGaelic | 145 |
Georgian | ka | langGeorgian | 52 |
German | de | langGerman | 2 |
Greek | el | langGreek (monotonic), langGreekPoly (polytonic) | 14(m), 148(p) |
Greenlandic | kl | ||
Guarani | gn | langGuarani | 133 |
Gujarati | gu | langGujarati | 69 |
Hausa | ha | ||
Hawaiian | |||
Hebrew | he, iw* | langHebrew | 10 |
Hindi | hi | langHindi | 21 |
Hungarian | hu | langHungarian | 26 |
Ibibio | |||
Icelandic | is | langIcelandic | 15 |
Igbo | |||
Indonesian | id, in* | langIndonesian | 81 |
Interlingua | ia | ||
Interlingue | ie | ||
Inuktitut | iu | langInuktitut | 143 |
Inupiak | ik | ||
Irish | ga | langIrishGaelic (normal), langIrishGaelicScr (dots above) | 35, 146 |
Italian | it | langItalian | 3 |
Japanese | ja | langJapanese | 11 |
Javanese | jv | langJavaneseRom | 138 |
Kannada | kn | langKannada | 73 |
Kanuri | |||
Kashmiri | ks | langKashmiri | 61 |
Kazakh | kk | langKazakh | 48 |
Kinyarwanda (Ruanda) | rw | langKiryarwanda (langRuanda) | 90 |
Kirghiz | ky | langKirghiz | 54 |
Kirundi (Rundi) | rn | langRundi | 91 |
Konkani | |||
Korean | ko | langKorean | 23 |
Kurdish | ku | langKurdish | 60 |
Laothian | lo | langLao | 79 |
Latin | la | langLatin | 131 |
Latvian (Lettish) | lv | langLatvian | 28 |
Limburgish (Limburger) | li | ||
Lingala | ln | ||
Lithuanian | lt | langLithuanian | 24 |
Macedonian | mk | langMacedonian | 43 |
Malagasy | mg | langMalagasy | 93 |
Malay | ms | langMalayRoman(Latin), langMalayArabic(Arabic) | 83(L), 84(A) |
Malayalam | ml | langMalayalam | 72 |
LANG_MANIPURI | 0x58 | ||
Maltese | mt | langMaltese | 16 |
Maori | mi | ||
Marathi | mr | langMarathi | 66 |
Moldavian | mo | langMoldavian | 53 |
Mongolian | mn | langMongolian(Mongolian), langMongolianCyr(Cyrillic) | 57(M), 58(C) |
Nauru | na | ||
Nepali | ne | langNepali | 64 |
Norwegian | no | langNorwegian | 9 |
Occitan | oc | ||
Oriya | or | langOriya | 71 |
Oromo (Afan, Galla) | om | langOromo (langGalla) | 87 |
Papiamentu | |||
Pashto (Pushto) | ps | langPashto | 59 |
Polish | pl | langPolish | 25 |
Portuguese | pt | langPortuguese | 8 |
Punjabi | pa | langPunjabi | 70 |
Quechua | qu | langQuechua | 132 |
Rhaeto-Romance | rm | ||
Romanian | ro | langRomanian | 37 |
Russian | ru | langRussian | 32 |
Sami (Lappish) | langSami (langLappish) | 29 | |
Samoan | sm | ||
Sangro | sg | ||
Sanskrit | sa | langSanskrit | 65 |
Serbian | sr | langSerbian | 42 |
Serbo-Croatian | sh | ||
Sesotho | st | ||
Setswana | tn | ||
Shona | sn | ||
Sindhi | sd | langSindhi | 62 |
Sinhalese | si | langSinhalese | 76 |
Siswati | ss | ||
Slovak | sk | langSlovak | 39 |
Slovenian | sl | langSlovenian | 40 |
Somali | so | langSomali | 88 |
Spanish | es | langSpanish | 6 |
Sundanese | su | langSundaneseRom | 139 |
Swahili (Kiswahili) | sw | langSwahili | 89 |
Swedish | sv | langSwedish | 5 |
Syriac | |||
Tagalog | tl | langTagalog | 82 |
Tajik | tg | langTajiki | 55 |
Tamazight | |||
Tamil | ta | langTamil | 74 |
Tatar | tt | langTatar | 135 |
Telugu | te | langTelugu | 75 |
Thai | th | langThai | 22 |
Tibetan | bo | langTibetan | 63 |
Tigrinya | ti | langTigrinya | 86 |
Tonga | to | langTongan | 147 |
Tsonga | ts | ||
Turkish | tr | langTurkish | 17 |
Turkmen | tk | langTurkmen | 56 |
Twi | tw | ||
Uighur | ug | langUighur | 136 |
Ukrainian | uk | langUkrainian | 45 |
Urdu | ur | langUrdu | 20 |
Uzbek | uz | langUzbek | 47 |
Venda | |||
Vietnamese | vi | langVietnamese | 80 |
Volap?k | vo | ||
Welsh | cy | langWelsh | 128 |
Wolof | wo | ||
Xhosa | xh | ||
Yi | |||
Yiddish | yi, ji* | langYiddish | 41 |
Yoruba | yo | ||
Zulu | zu |