The head of an HTML document is the part that is not displayed in the web browser when the page is loaded. It contains information such as the page <title>, links to CSS (if you choose to style your HTML content with CSS), links to custom favicons, and other metadata (data about the HTML, such as the author, and important keywords that describe the document.)
An HTML head can contain lots of metadata information or can have very less or no information, it depends on our requirement. But the head part has a crucial role in an HTML document while creating a website.
Metadata defines the document title, character set, styles, links, scripts, and other meta information. Following is a list of tags used in metadata: