Header
The top region of a page, usually holding identity and navigation.
See it on the 3D treeGoing deeper
It typically contains the logo, main navigation and utilities such as search, account or basket, and repeats across pages. A header may scroll away, stick to the top, or hide on the way down and return on the way up. In HTML the header element can also introduce a single section or article.
Why it matters
It tells visitors whose site they are on and how to get around, and every pixel of its height is paid for on each page.
In practice
On a phone you shrink a tall header to a logo, search icon and menu button so the article starts within the first screen.
Common mistake
Making a sticky header so tall that it covers much of a small screen, or hides the heading a link jumps to.
Connected terms
- FooterThe footer frames the other end of the page and catches what the header has no room for.
- NavigationThe header is the usual place for a site's primary navigation.
- LogoThe header is where visitors expect to find it, commonly linking home.
- MastheadWebsites often carry a publication's title in the page header.