liveBook · Manning

Nav element

The HTML nav element represents a section of a document containing navigation links or other navigation-related content.

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
Defines page areas containing navigation links or controls such as a search box.
How deep it goes
Demonstrates nav placement, link markup, list-based menus, and CSS styling without detailing browser internals.
Examples
Uses a four-link site menu, a photo-gallery menu with a current-page marker, and a portfolio navigation list.
What you can do after
Build it from scratch by wrapping site or page links in nav and styling the resulting navigation area.

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
Organizes links to other site pages as a reusable area in information, interest, and article page layouts.
How deep it goes
Defines nav, demonstrates five links, and explains Flexbox styling, while deferring detailed Flexbox and menu implementation.
Examples
Demonstrates a five-link bar for Home, Blog, FAQ, About, and Contact, plus navigation controls in a course catalog.
What you can do after
Build it from scratch with nav and anchor tags, then style its links as a horizontal Flexbox bar.

Read how Build a Website with ChatGPT explains nav element →

Related concepts

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.