liveBook · Manning

Head element

Also called head section

The HTML head element contains document metadata and references to resources, such as stylesheets and scripts, rather than the document’s main content.

How 2 Manning books explain it

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.

Read how Web Design Playground explains 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

Related concepts

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.