π HTML Codes
β You should always include the lang attribute inside the <html> tag, to declare the language of the Web page.
β This is meant to assist search engines and browsers.
β There are two types of HTML Codes:
1οΈβ£ Language Codes
2οΈβ£ Country Codes
π ISO Language Codes
β You should always include the lang attribute inside the <html> tag, to declare the language of the Web page.
β This is meant to assist search engines and browsers.
β In XHTML, the language is declared inside the <html> tag as follows.
π ISO Country Codes
β In HTML, country codes can be used as an addition to the language code in the lang attribute.
β The first two characters of a language code defines the language of the Web page.
β The last two characters define the country.
β This example specifies English as language and United States as country.
Thanks for reading this thread β€οΈ
If you like it , make sure you:
π· Like the tweet
π· Retweet the first tweet β‘
For more content , follow:
@MrunayU