175 6191 5976

添加官方微信

领创时代关于网站建设、青岛画册设计、青岛网站设计的观点和相关新闻 将我们的想法与焦点与你共享

各种语言在HTML的代码

2019-08-30 来源:小领

在HTML页面的开头,您应该定义编写该页面的语言。这并不意味着编码语言,而是编写页面文本的人类语言。例如,如果您的内容使用英语,则可以使用以下内容:

<html lang =“en”>这个“lang”属性被添加到开始HTML标记上,告诉浏览器页面本身是用英文编写的。不同的语言都有自己独特的代码,您可以使用它们。


下面是这些语言代码的列表,您可以在html标记的“lang”属性中使用这些代码来定义HTML文档的语言。

 

语言英文名字 ISO 639-1 Code
Afar aa
Abkhazian ab
Afrikaans af
Akan ak
Albanian sq
Amharic am
Arabic ar
Aragonese an
Armenian hy
Assamese as
Avaric av
Avestan ae
Aymara ay
Azerbaijani az
Bashkir ba
Bambara bm
Basque eu
Belarusian be
Bengali bn
Bihari bh
Bislama bi
Tibetan bo
Bosnian bs
Breton br
Bulgarian bg
Burmese my
Catalan; Valencian ca
Czech cs
Chamorro ch
Chechen ce
Chinese zh
Church Slavic; Old Slavonic; Church Slavonic; Old Bulgarian; Old Church Slavonic cu
Chuvash cv
Cornish kw
Corsican co
Cree cr
Welsh cy
Czech cs
Danish da
German de
Divehi; Dhivehi; Maldivian dv
Dutch; Flemish nl
Dzongkha dz
Greek, Modern (1453-) el
English en
Esperanto eo
Estonian et
Basque eu
Ewe ee
Faroese fo
Persian fa
Fijian fj
Finnish fi
French fr
Western Frisian fy
Fulah ff
Georgian ka
German de
Gaelic; Scottish Gaelic gd
Irish ga
Galician gl
Manx gv
Greek, Modern (1453-) el
Guarani gn
Gujarati gu
Haitian; Haitian Creole ht
Hausa ha
Hebrew he
Herero hz
Hindi hi
Hiri Motu ho
Croatian hr
Hungarian hu
Armenian hy
Igbo ig
Icelandic is
Ido io
Sichuan Yi ii
Inuktitut iu
Interlingue ie
Interlingua (International Auxiliary Language Association) ia
Indonesian id
Inupiaq ik
Icelandic is
Italian it
Javanese jv
Japanese ja
Kalaallisut; Greenlandic kl
Kannada kn
Kashmiri ks
Georgian ka
Kanuri kr
Kazakh kk
Central Khmer km
Kikuyu; Gikuyu ki
Kinyarwanda rw
Kirghiz; Kyrgyz ky
Komi kv
Kongo kg
Korean ko
Kuanyama; Kwanyama kj
Kurdish ku
Lao lo
Latin la
Latvian lv
Limburgan; Limburger; Limburgish li
Lingala ln
Lithuanian lt
Luxembourgish; Letzeburgesch lb
Luba-Katanga lu
Ganda lg
Macedonian mk
Marshallese mh
Malayalam ml
Maori mi
Marathi mr
Malay ms
Macedonian mk
Malagasy mg
Maltese mt
Moldavian mo
Mongolian mn
Maori mi
Malay ms
Burmese my
Nauru na
Navajo; Navaho nv
Ndebele, South; South Ndebele nr
Ndebele, North; North Ndebele nd
Ndonga ng
Nepali ne
Dutch; Flemish nl
Norwegian Nynorsk; Nynorsk, Norwegian nn
Bokmål, Norwegian; Norwegian Bokmål nb
Norwegian no
Chichewa; Chewa; Nyanja ny
Occitan (post 1500); Provençal oc
Ojibwa oj
Oriya or
Oromo om
Ossetian; Ossetic os
Panjabi; Punjabi pa
Persian fa
Pali pi
Polish pl
Portuguese pt
Pushto ps
Quechua qu
Romansh rm
Romanian ro
Romanian ro
Rundi rn
Russian ru
Sango sg
Sanskrit sa
Serbian sr
Croatian hr
Sinhala; Sinhalese si
Slovak sk
Slovak sk
Slovenian sl
Northern Sami se
Samoan sm
Shona sn
Sindhi sd
Somali so
Sotho, Southern st
Spanish; Castilian es
Albanian sq
Sardinian sc
Serbian sr
Swati ss
Sundanese su
Swahili sw
Swedish sv
Tahitian ty
Tamil ta
Tatar tt
Telugu te
Tajik tg
Tagalog tl
Thai th
Tibetan bo
Tigrinya ti
Tonga (Tonga Islands) to
Tswana tn
Tsonga ts
Turkmen tk
Turkish tr
Twi tw
Uighur; Uyghur ug
Ukrainian uk
Urdu ur
Uzbek uz
Venda ve
Vietnamese vi
Volapük vo
Welsh cy
Walloon wa
Wolof wo
Xhosa xh
Yiddish yi
Yoruba yo
Zhuang; Chuang za
Chinese zh
Zulu zu
版权声明:转载此文章须经 领创时代 同意,并请附上 领创时代 及本页链接http://www.leadnov.com/newsItem.aspx?id=262
创造品牌视觉体验 X 创新IT技术赋能企业
领创帮助您创新品牌战略,让品牌成为最具价值的资产。
中国·山东 青岛市市北区郑州路43号橡胶谷A栋
热线:175 6191 5976
微信:leadnov
Copyright © 2018-2020 leadnov.com 版权所有
鲁公网安备37020302372323
ICP证: 鲁ICP备18056479号

关注领创公众平台

添加官方微信

175 6191 5976