👤HTML <head> and <meta> tags
the metadata (background information) container of a webpage
The <head>
part of an HTML document describes the page:
it does not itself directly appear on the page!
The <head>
may assist:
search engines list your page
screen readers (and other assistive technologies)
other web developers 😄
The <meta> tag
The <meta>
tag, within the <head>
tag, each consists of a name
attribute that describes the HTML document (the webpage):
In the above example note that:
charset
has noname
attribute but simply describes what "character set" the page is usingusually just has a value of
UTF-8
since nowadays that set contains most of the alphabets and writing systems of the world's human languages
description
for search engines to show a small blurb under your page's<title>
keywords
to help the search engine lead users to your page if they type in these keywordsauthor
not as important 😉viewport
has recently become important as it helps adjust the size of everything when viewed on smaller screens such as mobile phones and tablets
Last updated