ISO-Sprachcodes
Das HTML-Attribut lang wird verwendet, um die Sprache einer Webseite oder nur eines Teils einer Webseite zu deklarieren. Es wird verwendet, um Suchmaschinen und Browsern zu helfen.
W3C schlägt vor, die Primärsprache für jede Webseite mit dem Attribut lang innerhalb des Tages <html> zu deklarieren.
Sehen Sie unten, wie Sie es machen können:
<html lang="hy">
...
</html>
In XHTML ist es ein bisschen anders:
<html xmlns="//www.w3docs.com/2014/xhtml" lang="en" xml:lang="en">
...
</html>
ISO 639-1-Sprachcodes
ISO 639-1 definiert die Abkürzungen der Sprachen.
Unten finden Sie die Liste der Sprachcodes nach Ländern:
Sprache | ISO Code |
---|---|
Abkhazian | ab |
Afar | aa |
Afrikaans | af |
Albanian | sq |
Amharic | am |
Arabic | ar |
Aragonese | an |
Armenian | hy |
Assamese | as |
Aymara | ay |
Azerbaijani | az |
Bashkir | ba |
Basque | eu |
Bengali (Bangla) | bn |
Bhutani | dz |
Bihari | bh |
Bislama | bi |
Breton | br |
Bulgarian | bg |
Burmese | my |
Belarussian (Byelorussian) | be |
Cambodian | km |
Catalan | ca |
Cherokee | - |
Chewa | - |
Chinese | zh |
Chinese (Simplified) | zh-Hans |
Chinese (Traditional) | zh-Hant |
Corsican | co |
Croatian | hr |
Czech | cs |
Danish | da |
Divehi | - |
Dutch | nl |
Edo | - |
English | en |
Esperanto | eo |
Estonian | et |
Faeroese | fo |
Farsi | fa |
Fiji | fj |
Finnish | fi |
Flemish | - |
French | fr |
Frisian | fy |
Fulfulde | - |
Galician | gl |
Gaelic (Scottish) | gd |
Gaelic (Manx) | gv |
Georgian | ka |
German | de |
Greek | el |
Greenlandic | kl |
Guarani | gn |
Gujarati | gu |
Haitian Creole | ht |
Hausa | ha |
Hawaiian | - |
Hebrew | he, iw |
Hindi | hi |
Hungarian | hu |
Ibibio | - |
Icelandic | is |
Ido | io |
Igbo | - |
Indonesian | id, in |
Interlingua | ia |
Interlingue | ie |
Inuktitut | iu |
Inupiak | ik |
Irish | ga |
Italian | it |
Japanese | ja |
Javanese | jv |
Kannada | kn |
Kanuri | - |
Kashmiri | ks |
Kazakh | kk |
Kinyarwanda (Rwanda) | rw |
Kirghiz | ky |
Kirundi (Rundi) | rn |
Konkani | - |
Korean | ko |
Kurdish | ku |
Laothian | lo |
Latin | la |
Latvian (Lettish) | lv |
Limburgish (Limburger) | li |
Lingala | ln |
Lithuanian | lt |
Macedonian | mk |
Malagasy | mg |
Malay | ms |
Malayalam | ml |
Maltese | mt |
Maori | mi |
Marathi | mr |
Mongolian | mn |
Nauru | na |
Nepali | ne |
Norwegian | no |
Occitan | oc |
Oriya | or |
Oromo (Afaan Oromo) | om |
Papiamentu | - |
Pashto (Pushto) | ps |
Polish | pl |
Portuguese | pt |
Punjabi | pa |
Quechua | qu |
Rhaeto-Romance | rm |
Romanian | ro |
Russian | ru |
Sami (Lappish) | - |
Samoan | sm |
Sangro | sg |
Sanskrit | sa |
Serbian | sr |
Serbo-Croatian | sh |
Sesotho | st |
Setswana | tn |
Shona | sn |
Sichuan Yi | ii |
Sindhi | sd |
Sinhalese | si |
Siswati | ss |
Slovak | sk |
Slovenian | sl |
Somali | so |
Spanish | es |
Sundanese | su |
Swahili (Kiswahili) | sw |
Swedish | sv |
Syriac | - |
Tagalog | tl |
Tajik | tg |
Tamazight | - |
Tamil | ta |
Tatar | tt |
Telugu | te |
Thai | th |
Tibetan | bo |
Tigrinya | ti |
Tonga | to |
Tsonga | ts |
Turkish | tr |
Turkmen | tk |
Twi | tw |
Uighur | ug |
Ukrainian | uk |
Urdu | ur |
Uzbek | uz |
Venda | - |
Vietnamese | vi |
Volapük | vo |
Wallon | wa |
Welsh | cy |
Wolof | wo |
Xhosa | xh |
Yi | - |
Yiddish | yi , ji |
Yoruba | yo |
Zulu | zu |
Übe dein Wissen
Welche Aussagen über HTML-Sprachcodes auf w3docs.com sind korrekt?
Richtig!
Falsch!