HTML ISO Language Code Reference

## HTML Reference

HTML by Alphabet HTML by Function HTML Global Attributes HTML Events HTML Canvas HTML Audio/Video HTML Doctypes HTML Colornames HTML Colorpicker HTML Colormixer HTML Character Sets HTML ASCII HTML ISO-8859-1 HTML Symbols HTML URL Encode HTML Lang Codes HTTP Messages HTTP Methods Keyboard Shortcuts

## HTML Tags

<!--> <!DOCTYPE> <a> <abbr> <acronym> <address> <applet> <area> <article> <aside> <audio> <b> <base> <basefont> <bdi> <bdo> <big> <blockquote> <body> <br> <button> <canvas> <caption> <center> <cite> <code> <col> <colgroup> <command> <datalist> <dd> <del> <details> <dfn> <dialog> <dir> <div> <dl> <dt> <em> <embed> <fieldset> <figcaption> <figure> <font> <footer> <form> <frame> <frameset> <head> <header> <h1> - <h6> <hr> <html> <i> <iframe> <img> <input> <ins> <kbd> <keygen> <label> <legend> <li> <link> <map> <mark> <menu> <meta> <meter> <nav> <noframes> <noscript> <object> <ol> <optgroup> <option> <output> <p> <param> <pre> <progress> <q> <rp> <rt> <ruby> <s> <samp> <script> <section> <select> <small> <source> <span> <strike> <strong> <style> <sub> <summary> <sup> <table> <tbody> <td> <textarea> <tfoot> <th> <thead> <time> <title> <tr> <track> <tt> <u> <ul> <var> <video> <wbr>

# HTML Language Code Reference

« Previous
Next Reference »

## ISO Language Codes

The HTML lang attribute can be used to declare the language of a Web page or a portion of a Web page. This is meant to assist search engines and browsers.

According to the W3C recommendation you should declare the primary language for each Web page with the lang attribute inside the <html> tag, like this:

<html lang="en">
...
</html>

In XHTML, the language is declared inside the <html> tag as follows:

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
...
</html>

## ISO 639-1 Language Codes

ISO 639-1 defines abbreviations for languages. In HTML and XHTML they can be used in the lang and xml:lang attributes.

Language | 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
Byelorussian (Belarusian) | be
Cambodian | km
Catalan | ca
Cherokee |
Chewa |
Chinese (Simplified) | zh
Chinese (Traditional) | zh
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 (Ruanda) | 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
Moldavian | mo
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

« Previous
Next Reference »

## Your suggestion:

Your E-mail (optional):

Page address:

Description:

Close [X]

## Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

## WEB HOSTING

Best Web Hosting UK Reseller Hosting Wow! $5 SSD Hosting

## WEB BUILDING

Download XML Editor
FREE Website BUILDER FREE Website Creator

## WEB RESOURCES

Web Statistics Web Validation

## SHARE THIS PAGE