head element
The section at the top of an HTML document holding information about the page, such as its title, meta tags, stylesheets and scripts, rather than visible content.
In more detail
Meta elements inside the head describe the page, for example its character set and viewport settings. Nothing in the head is drawn, so it is left out of the render tree.
Related terms
- render tree — The tree of visible elements with their computed styles, built from the DOM and CSSOM, that the browser uses for layout and painting.
- link element — The HTML element, usually in the head, that connects the page to another resource such as a stylesheet, a web app manifest or a resource hint.
- script element — The HTML element that loads or contains JavaScript for the page.
Taught in
- CSS Parsing, The CSSOM And The Render Tree — Frontend Architecture & Web Platform