Head element
The HTML head element contains document metadata and references to resources, such as stylesheets and scripts, rather than the document’s main content.
Web Design Playground
An HTML element that contains metadata and other non-visible information about a document, such as title and style information.
- How it is used
- Organizes browser-facing information separately from the visible HTML placed in the body element.
- How deep it goes
- Defines the element’s position and common contents, but stops short of deeper browser processing details.
- Examples
- Uses a starter HTML listing containing meta charset, title, style, head, and body elements.
- What you can do after
- Build a basic HTML page structure and place metadata, a title, and CSS inside its head element.
Web Design Playground, Second Edition
The HTML head element contains document metadata, the page title, and resource declarations rather than the page's main rendered content.
- How it is used
- Introduces page metadata, the title, and CSS before visible content begins in the body.
- How deep it goes
- Defines the head’s role and names common child elements, without descending into browser internals.
- Examples
- Uses a complete page skeleton containing doctype, html, head, meta, title, style, and body elements.
- What you can do after
- Understand how to place metadata, a page title, and CSS in a basic HTML document.
Read how Web Design Playground, Second Edition explains head element →
Also covered in
What to know first
- HTMLHTML is the standard markup language for structuring content and elements in documents on the web.
- HTML tagAn HTML tag is angle-bracket-delimited markup that identifies, structures, or marks the boundary of an element in an HTML document.
Related concepts
- holy-grail layoutpart of · The Holy Grail layout is a web page pattern with central content flanked by sidebars, typically accompanied by a header and footer.
- HTML elementpart of · An HTML element is a structural or semantic unit of an HTML document, defined by markup and represented in the document tree.
- containeruses · A media container is a file format that packages media streams and associated data into a single file structure.
- style elementhas part · A style element is an HTML element containing CSS rules that apply to a document or an applicable shadow tree.
- page titlehas part · The HTML title element is document metadata that specifies a page’s title, commonly displayed in browser tabs and other user-agent contexts.
Questions about head element
What is head element?
The HTML head element contains document metadata and references to resources, such as stylesheets and scripts, rather than the document’s main content.
Which Manning books explain head element?
Web Design Playground and Web Design Playground, Second Edition.
What should I know before learning head element?
Manning books that teach head element usually introduce HTML and HTML tag first.
What is head element part of?
Head element is part of basic web page structure. A basic web page structure is the standard arrangement of declarations, HTML elements, metadata, styles, and page content that forms an HTML page.
What are the parts of head element?
Head element includes style element and page title.
What is head element also called?
Head element is also called head section.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

