HTML Meta Tag
By Tony 2023.11.29
How are users supposed to get to your website if they can't even find it? Meta tags provide additional information, or metadata, to the browser, search engine, and other machines. They make your website show up on the search engine, they also show additional information, description, and image for the website in social media posts, messages, and more.
<meta charset="UTP-8">
<meta name="description" content="Free coding tutorials!">
<meta name="author" content="MacWeb">
<meta name="keywords" content="Coding, Web Developement, MacWeb">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
There are 5 different meta tags in the above example. The first one, charset meta tag, tells the browser this webpage's character set is UTF-8, so the browser can display the unicode characters correctly. The second one, description meta tag, has the description as the name attribute and the actual description within the content attribute.