ISO country codes
Including the ISO language attribute in the webpage HTML tag assists browsers with determining the language with which the page is written. An ISO country code can be added to the language code, which assists screen readers with localised pronunciation. You can also include the language attribute in other HTML elements such as div, span and p to denote that a different language is being used between those tags.
An example of using the language attribute with the HTML tag:
<html lang = "en">
If you wanted to add the country code, for Australia you would use:
<html lang = "en-AU">
To set the language of text between tags within the webpage:
<div lang = "en-JP">Japanese text goes here</div>
or
<span lang = "ar-EG">Egyptian text goes here</span>
It is not always easy to find a list of ISO country codes included with the language code for you to use in your HTML tags so we have compiled a list that you can reference. To make it easier, you can narrow these down to your chosen language using the dropdown list box. Example code for the html tag using the language attribute is in the last column, but you can add this to other tags as seen above.
Filter by language:
Language
Country
ISO code
Example usage
English
No set country
en
<html lang = "en">
English
Caribbean
en-029
<html lang = "en-029">
English
Australia
en-AU
<html lang = "en-AU">
English
Belize
en-BZ
<html lang = "en-BZ">
English
Canada
en-CA
<html lang = "en-CA">
English
United Kingdom
en-GB
<html lang = "en-GB">
English
Ireland
en-IE
<html lang = "en-IE">
English
India
en-IN
<html lang = "en-IN">
English
Jamaica
en-JM
<html lang = "en-JM">
English
Malaysia
en-MY
<html lang = "en-MY">
English
New Zealand
en-NZ
<html lang = "en-NZ">
English
Republic of the Philippines
en-PH
<html lang = "en-PH">
English
Singapore
en-SG
<html lang = "en-SG">
English
Trinidad and Tobago
en-TT
<html lang = "en-TT">
English
United States
en-US
<html lang = "en-US">
English
South Africa
en-ZA
<html lang = "en-ZA">
English
Zimbabwe
en-ZW
<html lang = "en-ZW">
Afrikaans
No set country
af
<html lang = "af">
Afrikaans
South Africa
af-ZA
<html lang = "af-ZA">
Albanian
No set country
sq
<html lang = "sq">
Albanian
Albania
sq-AL
<html lang = "sq-AL">
Alsatian
No set country
gsw
<html lang = "gsw">
Alsatian
France
gsw-FR
<html lang = "gsw-FR">
Amharic
No set country
am
<html lang = "am">
Amharic
Ethiopia
am-ET
<html lang = "am-ET">
Arabic
No set country
ar
<html lang = "ar">
Arabic
U.A.E.
ar-AE
<html lang = "ar-AE">
Arabic
Bahrain
ar-BH
<html lang = "ar-BH">
Arabic
Algeria
ar-DZ
<html lang = "ar-DZ">
Arabic
Egypt
ar-EG
<html lang = "ar-EG">
Arabic
Iraq
ar-IQ
<html lang = "ar-IQ">
Arabic
Jordan
ar-JO
<html lang = "ar-JO">
Arabic
Kuwait
ar-KW
<html lang = "ar-KW">
Arabic
Lebanon
ar-LB
<html lang = "ar-LB">
Arabic
Libya
ar-LY
<html lang = "ar-LY">
Arabic
Morocco
ar-MA
<html lang = "ar-MA">
Arabic
Oman
ar-OM
<html lang = "ar-OM">
Arabic
Qatar
ar-QA
<html lang = "ar-QA">
Arabic
Saudi Arabia
ar-SA
<html lang = "ar-SA">
Arabic
Syria
ar-SY
<html lang = "ar-SY">
Arabic
Tunisia
ar-TN
<html lang = "ar-TN">
Arabic
Yemen
ar-YE
<html lang = "ar-YE">
Armenian
No set country
hy
<html lang = "hy">
Armenian
Armenia
hy-AM
<html lang = "hy-AM">
Assamese
No set country
as
<html lang = "as">
Assamese
India
as-IN
<html lang = "as-IN">
Azeri (Cyrillic)
Azerbaijan
az-AZ
<html lang = "az-AZ">
Azeri (Latin)
No set country
az
<html lang = "az">
Azeri (Latin)
Azerbaijan
az-AZ
<html lang = "az-AZ">
Bashkir
No set country
ba
<html lang = "ba">
Bashkir
Russia
ba-RU
<html lang = "ba-RU">
Basque
No set country
eu
<html lang = "eu">
Basque
Spain
eu-ES
<html lang = "eu-ES">
Belarusian
No set country
be
<html lang = "be">
Belarusian
Belarus
be-BY
<html lang = "be-BY">
Bengali
No set country
bn
<html lang = "bn">
Bengali
Bangladesh
bn-BD
<html lang = "bn-BD">
Bengali
India
bn-IN
<html lang = "bn-IN">
Bosnian (Cyrillic)
Bosnia and Herzegovina
bs-BA
<html lang = "bs-BA">
Bosnian (Latin)
No set country
bs
<html lang = "bs">
Bosnian (Latin)
Bosnia and Herzegovina
bs-BA
<html lang = "bs-BA">
Breton
No set country
br
<html lang = "br">
Breton
France
br-FR
<html lang = "br-FR">
Bulgarian
No set country
bg
<html lang = "bg">
Bulgarian
Bulgaria
bg-BG
<html lang = "bg-BG">
Catalan
No set country
ca
<html lang = "ca">
Catalan
Spain
ca-ES
<html lang = "ca-ES">
Chinese (Simplified) Legacy
People's Republic of China
zh-CN
<html lang = "zh-CN">
Chinese (Simplified) Legacy
Singapore
zh-SG
<html lang = "zh-SG">
Chinese (Traditional) Legacy
No set country
zh
<html lang = "zh">
Chinese (Traditional) Legacy
Hong Kong S.A.R.
zh-HK
<html lang = "zh-HK">
Chinese (Traditional) Legacy
Macao S.A.R.
zh-MO
<html lang = "zh-MO">
Chinese (Traditional) Legacy
Taiwan
zh-TW
<html lang = "zh-TW">
Corsican
No set country
co
<html lang = "co">
Corsican
France
co-FR
<html lang = "co-FR">
Croatian
No set country
hr
<html lang = "hr">
Croatian
Bosnia and Herzegovina
hr-BA
<html lang = "hr-BA">
Croatian
Croatia
hr-HR
<html lang = "hr-HR">
Czech
No set country
cs
<html lang = "cs">
Czech
Czech Republic
cs-CZ
<html lang = "cs-CZ">
Danish
No set country
da
<html lang = "da">
Danish
Denmark
da-DK
<html lang = "da-DK">
Dari
No set country
prs
<html lang = "prs">
Dari
Afghanistan
prs-AF
<html lang = "prs-AF">
Divehi
No set country
dv
<html lang = "dv">
Divehi
Maldives
dv-MV
<html lang = "dv-MV">
Dutch
No set country
nl
<html lang = "nl">
Dutch
Belgium
nl-BE
<html lang = "nl-BE">
Dutch
Netherlands
nl-NL
<html lang = "nl-NL">
Estonian
No set country
et
<html lang = "et">
Estonian
Estonia
et-EE
<html lang = "et-EE">
Faroese
No set country
fo
<html lang = "fo">
Faroese
Faroe Islands
fo-FO
<html lang = "fo-FO">
Filipino
No set country
fil
<html lang = "fil">
Filipino
Philippines
fil-PH
<html lang = "fil-PH">
Finnish
No set country
fi
<html lang = "fi">
Finnish
Finland
fi-FI
<html lang = "fi-FI">
French
No set country
fr
<html lang = "fr">
French
Belgium
fr-BE
<html lang = "fr-BE">
French
Canada
fr-CA
<html lang = "fr-CA">
French
Switzerland
fr-CH
<html lang = "fr-CH">
French
France
fr-FR
<html lang = "fr-FR">
French
Luxembourg
fr-LU
<html lang = "fr-LU">
French
Principality of Monaco
fr-MC
<html lang = "fr-MC">
Frisian
No set country
fy
<html lang = "fy">
Frisian
Netherlands
fy-NL
<html lang = "fy-NL">
Galician
No set country
gl
<html lang = "gl">
Galician
Spain
gl-ES
<html lang = "gl-ES">
Georgian
No set country
ka
<html lang = "ka">
Georgian
Georgia
ka-GE
<html lang = "ka-GE">
German
No set country
de
<html lang = "de">
German
Austria
de-AT
<html lang = "de-AT">
German
Switzerland
de-CH
<html lang = "de-CH">
German
Germany
de-DE
<html lang = "de-DE">
German
Liechtenstein
de-LI
<html lang = "de-LI">
German
Luxembourg
de-LU
<html lang = "de-LU">
Greek
No set country
el
<html lang = "el">
Greek
Greece
el-GR
<html lang = "el-GR">
Greenlandic
No set country
kl
<html lang = "kl">
Greenlandic
Greenland
kl-GL
<html lang = "kl-GL">
Gujarati
No set country
gu
<html lang = "gu">
Gujarati
India
gu-IN
<html lang = "gu-IN">
Hausa (Latin)
No set country
ha
<html lang = "ha">
Hausa (Latin)
Nigeria
ha-NG
<html lang = "ha-NG">
Hebrew
No set country
he
<html lang = "he">
Hebrew
Israel
he-IL
<html lang = "he-IL">
Hindi
No set country
hi
<html lang = "hi">
Hindi
India
hi-IN
<html lang = "hi-IN">
Hungarian
No set country
hu
<html lang = "hu">
Hungarian
Hungary
hu-HU
<html lang = "hu-HU">
Icelandic
No set country
is
<html lang = "is">
Icelandic
Iceland
is-IS
<html lang = "is-IS">
Igbo
No set country
ig
<html lang = "ig">
Igbo
Nigeria
ig-NG
<html lang = "ig-NG">
Indonesian
No set country
id
<html lang = "id">
Indonesian
Indonesia
id-ID
<html lang = "id-ID">
Inuktitut (Latin)
Canada
iu-CA
<html lang = "iu-CA">
Inuktitut (Syllabics)
No set country
iu
<html lang = "iu">
Inuktitut (Syllabics)
Canada
iu-CA
<html lang = "iu-CA">
Irish
No set country
ga
<html lang = "ga">
Irish
Ireland
ga-IE
<html lang = "ga-IE">
isiXhosa
No set country
xh
<html lang = "xh">
isiXhosa
South Africa
xh-ZA
<html lang = "xh-ZA">
isiZulu
No set country
zu
<html lang = "zu">
isiZulu
South Africa
zu-ZA
<html lang = "zu-ZA">
Italian
No set country
it
<html lang = "it">
Italian
Switzerland
it-CH
<html lang = "it-CH">
Italian
Italy
it-IT
<html lang = "it-IT">
Japanese
No set country
ja
<html lang = "ja">
Japanese
Japan
ja-JP
<html lang = "ja-JP">
K'iche
No set country
qut
<html lang = "qut">
K'iche
Guatemala
qut-GT
<html lang = "qut-GT">
Kannada
No set country
kn
<html lang = "kn">
Kannada
India
kn-IN
<html lang = "kn-IN">
Kazakh
No set country
kk
<html lang = "kk">
Kazakh
Kazakhstan
kk-KZ
<html lang = "kk-KZ">
Khmer
No set country
km
<html lang = "km">
Khmer
Cambodia
km-KH
<html lang = "km-KH">
Kinyarwanda
No set country
rw
<html lang = "rw">
Kinyarwanda
Rwanda
rw-RW
<html lang = "rw-RW">
Kiswahili
No set country
sw
<html lang = "sw">
Kiswahili
Kenya
sw-KE
<html lang = "sw-KE">
Konkani
No set country
kok
<html lang = "kok">
Konkani
India
kok-IN
<html lang = "kok-IN">
Korean
No set country
ko
<html lang = "ko">
Korean
Korea
ko-KR
<html lang = "ko-KR">
Kyrgyz
No set country
ky
<html lang = "ky">
Kyrgyz
Kyrgyzstan
ky-KG
<html lang = "ky-KG">
Lao
No set country
lo
<html lang = "lo">
Lao
Lao P.D.R.
lo-LA
<html lang = "lo-LA">
Latvian
No set country
lv
<html lang = "lv">
Latvian
Latvia
lv-LV
<html lang = "lv-LV">
Lithuanian
No set country
lt
<html lang = "lt">
Lithuanian
Lithuania
lt-LT
<html lang = "lt-LT">
Lower Sorbian
No set country
dsb
<html lang = "dsb">
Lower Sorbian
Germany
dsb-DE
<html lang = "dsb-DE">
Luxembourgish
No set country
lb
<html lang = "lb">
Luxembourgish
Luxembourg
lb-LU
<html lang = "lb-LU">
Macedonian (FYROM)
No set country
mk
<html lang = "mk">
Macedonian (FYROM)
Macedonia (FYROM)
mk-MK
<html lang = "mk-MK">
Malay
No set country
ms
<html lang = "ms">
Malay
Brunei Darussalam
ms-BN
<html lang = "ms-BN">
Malay
Malaysia
ms-MY
<html lang = "ms-MY">
Malayalam
No set country
ml
<html lang = "ml">
Malayalam
India
ml-IN
<html lang = "ml-IN">
Maltese
No set country
mt
<html lang = "mt">
Maltese
Malta
mt-MT
<html lang = "mt-MT">
Maori
No set country
mi
<html lang = "mi">
Maori
New Zealand
mi-NZ
<html lang = "mi-NZ">
Mapudungun
No set country
arn
<html lang = "arn">
Mapudungun
Chile
arn-CL
<html lang = "arn-CL">
Marathi
No set country
mr
<html lang = "mr">
Marathi
India
mr-IN
<html lang = "mr-IN">
Mohawk
No set country
moh
<html lang = "moh">
Mohawk
Canada
moh-CA
<html lang = "moh-CA">
Mongolian (Cyrillic)
Mongolia
mn-MN
<html lang = "mn-MN">
Mongolian (Traditional Mongolian)
No set country
mn
<html lang = "mn">
Mongolian (Traditional Mongolian)
People's Republic of China
mn-CN
<html lang = "mn-CN">
Nepali
No set country
ne
<html lang = "ne">
Nepali
Nepal
ne-NP
<html lang = "ne-NP">
Norwegian (Bokmal)
No set country
nb
<html lang = "nb">
Norwegian (Bokmal)
Norway
nb-NO
<html lang = "nb-NO">
Norwegian (Nynorsk)
No set country
nn
<html lang = "nn">
Norwegian (Nynorsk)
Norway
nn-NO
<html lang = "nn-NO">
Occitan
No set country
oc
<html lang = "oc">
Occitan
France
oc-FR
<html lang = "oc-FR">
Oriya
No set country
or
<html lang = "or">
Oriya
India
or-IN
<html lang = "or-IN">
Pashto
No set country
ps
<html lang = "ps">
Pashto
Afghanistan
ps-AF
<html lang = "ps-AF">
Persian
No set country
fa
<html lang = "fa">
Persian
Iran
fa-IR
<html lang = "fa-IR">
Polish
No set country
pl
<html lang = "pl">
Polish
Poland
pl-PL
<html lang = "pl-PL">
Portuguese
No set country
pt
<html lang = "pt">
Portuguese
Brazil
pt-BR
<html lang = "pt-BR">
Portuguese
Portugal
pt-PT
<html lang = "pt-PT">
Punjabi
No set country
pa
<html lang = "pa">
Punjabi
India
pa-IN
<html lang = "pa-IN">
Quechua
No set country
quz
<html lang = "quz">
Quechua
Bolivia
quz-BO
<html lang = "quz-BO">
Quechua
Ecuador
quz-EC
<html lang = "quz-EC">
Quechua
Peru
quz-PE
<html lang = "quz-PE">
Romanian
No set country
ro
<html lang = "ro">
Romanian
Romania
ro-RO
<html lang = "ro-RO">
Romansh
No set country
rm
<html lang = "rm">
Romansh
Switzerland
rm-CH
<html lang = "rm-CH">
Russian
No set country
ru
<html lang = "ru">
Russian
Russia
ru-RU
<html lang = "ru-RU">
Sami (Inari)
No set country
smn
<html lang = "smn">
Sami (Inari)
Finland
smn-FI
<html lang = "smn-FI">
Sami (Lule)
No set country
smj
<html lang = "smj">
Sami (Lule)
Norway
smj-NO
<html lang = "smj-NO">
Sami (Lule)
Sweden
smj-SE
<html lang = "smj-SE">
Sami (Northern)
No set country
se
<html lang = "se">
Sami (Northern)
Finland
se-FI
<html lang = "se-FI">
Sami (Northern)
Norway
se-NO
<html lang = "se-NO">
Sami (Northern)
Sweden
se-SE
<html lang = "se-SE">
Sami (Skolt)
No set country
sms
<html lang = "sms">
Sami (Skolt)
Finland
sms-FI
<html lang = "sms-FI">
Sami (Southern)
No set country
sma
<html lang = "sma">
Sami (Southern)
Norway
sma-NO
<html lang = "sma-NO">
Sami (Southern)
Sweden
sma-SE
<html lang = "sma-SE">
Sanskrit
No set country
sa
<html lang = "sa">
Sanskrit
India
sa-IN
<html lang = "sa-IN">
Scottish Gaelic
No set country
gd
<html lang = "gd">
Scottish Gaelic
United Kingdom
gd-GB
<html lang = "gd-GB">
Serbian (Cyrillic)
Bosnia and Herzegovina
sr-BA
<html lang = "sr-BA">
Serbian (Cyrillic)
Serbia and Montenegro (Former)
sr-CS
<html lang = "sr-CS">
Serbian (Cyrillic)
Montenegro
sr-ME
<html lang = "sr-ME">
Serbian (Cyrillic)
Serbia
sr-RS
<html lang = "sr-RS">
Serbian (Latin)
No set country
sr
<html lang = "sr">
Serbian (Latin)
Bosnia and Herzegovina
sr-BA
<html lang = "sr-BA">
Serbian (Latin)
Serbia and Montenegro (Former)
sr-CS
<html lang = "sr-CS">
Serbian (Latin)
Montenegro
sr-ME
<html lang = "sr-ME">
Serbian (Latin)
Serbia
sr-RS
<html lang = "sr-RS">
Sesotho sa Leboa
No set country
nso
<html lang = "nso">
Sesotho sa Leboa
South Africa
nso-ZA
<html lang = "nso-ZA">
Setswana
No set country
tn
<html lang = "tn">
Setswana
South Africa
tn-ZA
<html lang = "tn-ZA">
Sinhala
No set country
si
<html lang = "si">
Sinhala
Sri Lanka
si-LK
<html lang = "si-LK">
Slovak
No set country
sk
<html lang = "sk">
Slovak
Slovakia
sk-SK
<html lang = "sk-SK">
Slovenian
No set country
sl
<html lang = "sl">
Slovenian
Slovenia
sl-SI
<html lang = "sl-SI">
Spanish
No set country
es
<html lang = "es">
Spanish
Argentina
es-AR
<html lang = "es-AR">
Spanish
Bolivia
es-BO
<html lang = "es-BO">
Spanish
Chile
es-CL
<html lang = "es-CL">
Spanish
Colombia
es-CO
<html lang = "es-CO">
Spanish
Costa Rica
es-CR
<html lang = "es-CR">
Spanish
Dominican Republic
es-DO
<html lang = "es-DO">
Spanish
Ecuador
es-EC
<html lang = "es-EC">
Spanish
Spain
es-ES
<html lang = "es-ES">
Spanish
Guatemala
es-GT
<html lang = "es-GT">
Spanish
Honduras
es-HN
<html lang = "es-HN">
Spanish
Mexico
es-MX
<html lang = "es-MX">
Spanish
Nicaragua
es-NI
<html lang = "es-NI">
Spanish
Panama
es-PA
<html lang = "es-PA">
Spanish
Peru
es-PE
<html lang = "es-PE">
Spanish
Puerto Rico
es-PR
<html lang = "es-PR">
Spanish
Paraguay
es-PY
<html lang = "es-PY">
Spanish
El Salvador
es-SV
<html lang = "es-SV">
Spanish
United States
es-US
<html lang = "es-US">
Spanish
Uruguay
es-UY
<html lang = "es-UY">
Spanish
Bolivarian Republic of Venezuela
es-VE
<html lang = "es-VE">
Swedish
No set country
sv
<html lang = "sv">
Swedish
Finland
sv-FI
<html lang = "sv-FI">
Swedish
Sweden
sv-SE
<html lang = "sv-SE">
Syriac
No set country
syr
<html lang = "syr">
Syriac
Syria
syr-SY
<html lang = "syr-SY">
Tajik (Cyrillic)
No set country
tg
<html lang = "tg">
Tajik (Cyrillic)
Tajikistan
tg-TJ
<html lang = "tg-TJ">
Tamazight (Latin)
No set country
tzm
<html lang = "tzm">
Tamazight (Latin)
Algeria
tzm-DZ
<html lang = "tzm-DZ">
Tamil
No set country
ta
<html lang = "ta">
Tamil
India
ta-IN
<html lang = "ta-IN">
Tatar
No set country
tt
<html lang = "tt">
Tatar
Russia
tt-RU
<html lang = "tt-RU">
Telugu
No set country
te
<html lang = "te">
Telugu
India
te-IN
<html lang = "te-IN">
Thai
No set country
th
<html lang = "th">
Thai
Thailand
th-TH
<html lang = "th-TH">
Tibetan
No set country
bo
<html lang = "bo">
Tibetan
People's Republic of China
bo-CN
<html lang = "bo-CN">
Turkish
No set country
tr
<html lang = "tr">
Turkish
Turkey
tr-TR
<html lang = "tr-TR">
Turkmen
No set country
tk
<html lang = "tk">
Turkmen
Turkmenistan
tk-TM
<html lang = "tk-TM">
Ukrainian
No set country
uk
<html lang = "uk">
Ukrainian
Ukraine
uk-UA
<html lang = "uk-UA">
Upper Sorbian
No set country
hsb
<html lang = "hsb">
Upper Sorbian
Germany
hsb-DE
<html lang = "hsb-DE">
Urdu
No set country
ur
<html lang = "ur">
Urdu
Islamic Republic of Pakistan
ur-PK
<html lang = "ur-PK">
Uyghur
No set country
ug
<html lang = "ug">
Uyghur
People's Republic of China
ug-CN
<html lang = "ug-CN">
Uzbek (Cyrillic)
Uzbekistan
uz-UZ
<html lang = "uz-UZ">
Uzbek (Latin)
No set country
uz
<html lang = "uz">
Uzbek (Latin)
Uzbekistan
uz-UZ
<html lang = "uz-UZ">
Vietnamese
No set country
vi
<html lang = "vi">
Vietnamese
Vietnam
vi-VN
<html lang = "vi-VN">
Welsh
No set country
cy
<html lang = "cy">
Welsh
United Kingdom
cy-GB
<html lang = "cy-GB">
Wolof
No set country
wo
<html lang = "wo">
Wolof
Senegal
wo-SN
<html lang = "wo-SN">
Yakut
No set country
sah
<html lang = "sah">
Yakut
Russia
sah-RU
<html lang = "sah-RU">
Yi
No set country
ii
<html lang = "ii">
Yi
People's Republic of China
ii-CN
<html lang = "ii-CN">
Yoruba
No set country
yo
<html lang = "yo">
Yoruba
Nigeria
yo-NG
<html lang = "yo-NG">
Warning: require_once(/home/htmlbasi/public_html/onlinepro/online.php): failed to open stream: No such file or directory in /home/htmlbasi/public_html/pages.php on line 260
Fatal error: require_once(): Failed opening required '/home/htmlbasi/public_html/onlinepro/online.php' (include_path='.:') in /home/htmlbasi/public_html/pages.php on line 260