Mrunay Uttarwar
Mrunay Uttarwar

@MrunayU

7 Tweets 2 reads Oct 23, 2022
πŸ”· About HTML Codes
A Thread🧡 πŸ‘‡
πŸ“Œ 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
You can read the unrolled version of this thread here: typefully.com

Loading suggestions...