It’s vital to declare the language you use in your website blog posts and that is declared by several ISO language code tags written in HTML that know the language you use in writing posts so that your traffic can be from the right source of related language people. To declare the language in HTML we use a two-letter language code or three letters. Some websites go to the extent of using an XML language tag.
Website crawlers from search engines use language tags to determine the language used in the writing of the posts. If you have used the language tags declaring English language from the USA then the English used in the post should not have a British English version and thus any British English words are considered spelling mistakes.
How To Use Href Language Tags In A Website
A website uses the abbreviation of the language tags from the full name of the language and the origin. In the meta HTML tags of the href language declaration, the language used is written as attached below.
<html lang=”en”>
</html>
Then when using XML to refer to the declaration of the language tag than it’s assigned as below.
<html xmlns=”http://www.w3.org/1999/xhtml” lang=”en” xml:lang=”en”>
</html>
The Short Codes are derived from language and that’s what we declare as ISO value and the country language. When your website has errors in language declaration, the iso language value is not declared for the page showing errors. To know whether your website has language errors, the Google search console will inform you that you have not specified your language in the code. The country language code ISO is derived as follows.
Language ISO Code HTML Tags
- Abkhazian ab
- Afar aa
- Afrikaans af
- Akan ak
- Albanian sq
- Amharic am
- Arabic ar
- Aragonese an
- Armenian hy
- Assamese as
- Avaric av
- Avestan ae
- Aymara ay
- Azerbaijani az
- Bambara bm
- Bashkir ba
- Basque EU
- Belarusian be
- Bengali (Bangla) bn
- Bihari bh
- Bislama bi
- Bosnian bs
- Breton br
- Bulgarian bg
- Burmese my
- Catalan ca
- Chamorro ch
- Chechen ce
- Chichewa, Chewa, Nyanja ny
- Chinese zh
- Chinese (Simplified) zh-Hans
- Chinese (Traditional) zh-Hant
- Chuvash cv
- Cornish kw
- Corsican co
- Cree cr
- Croatian hr
- Czech cs
- Danish da
- Divehi, Dhivehi, Maldivian dv
- Dutch nl
- Dzongkha dz
- English en
- Esperanto eo
- Estonian et
- Ewe ee
- Faroese fo
- Fijian fj
- Finnish fi
- French fr
- Fula, Fulah, Pulaar, Pular ff
- Galician gl
- Gaelic (Scottish) gd
- Gaelic (Manx) gv
- Georgian ka
- German de
- Greek el
- Greenlandic kb
- Guarani gn
- Gujarati gu
- Haitian Creole ht
- Hausa ha
- Hebrew he
- Herero hz
- Hindi hi
- Hiri Motu ho
- Hungarian hu
- Icelandic is
- Ido io
- Igbo ig
- Indonesian id, in
- Interlingua ia
- Interlingue ie
- Inuktitut iu
- Inupiak ik
- Irish ga
- Italian it
- Japanese ja
- Javanese jv
- Kalaallisut, Greenlandic kl
- Kannada kn
- Kanuri kr
- Kashmiri ks
- Kazakh kk
- Khmer km
- Kikuyu ki
- Kinyarwanda (Rwanda) rw
- Kirundi rn
- Kyrgyz ky
- Komi kv
- Kongo kg
- Korean ko
- Kurdish ku
- Kwanyama kj
- Lao lo
- Latin la
- Latvian (Lettish) lv
- Limburgish ( Limburger) li
- Lingala ln
- Lithuanian lt
How To Declare Language Tags In WordPress
To add meta tags in your blogger website to declare specific language iso HTML tag you will have to add the bellow hreflang tags to your blogger blog code value.
<link rel=”alternate” href=”http://example.com” hreflang=”en” />
For WordPress websites, it depends on the making of the theme template and if you are the developer it’s vital to use the language in the HTML value at the start of the website code. If you already have a created website and your ad the installation into a self-hosted WordPress website then you have to change language values in settings. Customization of the language values in Blogger is easy.
Check the example below.
WordPress makes it easy to set up the language ISO Code Tags HTML Reference because the implementation is a one-way setting in the admin’s settings and user language profile settings. That automatically sets the language in the code template of your WordPress website. In case you would like to specify more then you have to take a look at the href tags ISO above to choose your preferred one. That’s all with ISO Language Code Tags HTML Reference, if you have any questions, don’t hesitate to ask in the comments or also contact me for more details.