liveBook · Manning

Nav element

The HTML nav element represents a section of a document containing navigation links or other navigation controls.

How 2 Manning books explain it

Web Design Playground, Second Edition

The HTML nav element represents a section of a document containing navigation links or other navigation controls.

How it is used
Marks a page area as navigation within a semantic HTML5 layout.
How deep it goes
Defines its purpose, shows header-adjacent markup, and develops styled navigation in page projects.
Examples
Shows four site links after a header, gallery-page links, and portfolio links to page sections.
What you can do after
Build it from scratch with a nav area containing links, then style its list for a page layout.

Read how Web Design Playground, Second Edition explains nav element →

Build a Website with ChatGPT

An HTML element that identifies a section of a document containing navigation links.

How it is used
Marks a page area for navigation links, commonly between the header and main content.
How deep it goes
Defines the element, shows link markup and basic Flexbox styling, and defers detailed Flexbox and small-screen menu construction.
Examples
Shows a five-link Home, Blog, FAQ, About, and Contact bar and prompts for navigation on home and article pages.
What you can do after
Apply it via ChatGPT by specifying link text and destination files, then check the generated <nav> markup.

Read how Build a Website with ChatGPT explains nav element →

Also covered in

What to know first

Related concepts

Questions about nav element

What is nav element?

The HTML nav element represents a section of a document containing navigation links or other navigation controls.

Which Manning books explain nav element?

Web Design Playground, Second Edition and Build a Website with ChatGPT.

What should I know before learning nav element?

Manning books that teach nav element usually introduce HTML, copyright notice, CSS and hyperlink first.

What is the difference between nav element and main?

The HTML nav element represents a section of a document containing navigation links or other navigation controls. The HTML main element identifies the dominant content of a document or application view, excluding shared navigation and peripheral content.

What is nav element a kind of?

Nav element is a kind of semantic markup. Semantic markup is the practice of using HTML elements according to the meaning and structural or interactive role of their content.

What is nav element part of?

Nav element is part of header element. The HTML header element represents introductory content or navigational aids for a document or 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.