The main parts of a website are its pages and the sections every web page is built from. Pages come in three types, the homepage, landing pages and interior pages. Each page usually has a header with your logo and navigation menu, a hero section, the main content area, sometimes a sidebar, and a footer. MDN’s guide to structuring web pages describes the same standard layout, so these names are what your web designer, developer and content management system will use too.
Knowing the names cuts out the website jargon and makes every conversation about your site quicker. “Can we add a button to the header?” gets done in minutes. “Can we change the bit at the top?” starts a thread of emails. Below is the anatomy of a website from top to bottom, then the page types and the parts you never see but still rely on. If you want the smaller pieces that sit inside these sections, such as buttons, forms, accordions and testimonials, see our guide to website elements.

The main parts of a website at a glance
These are the basic parts of a website in the order a visitor meets them. The last column is the HTML tag developers use for each one (handy if you ever read a developer’s notes or an accessibility report).
| Part of the page | Where it sits | What it does | HTML tag |
|---|---|---|---|
| Header | Top of every page | Shows the logo, navigation menu and usually one call to action | header |
| Navigation menu | Inside the header, or a hamburger menu on phones | Links to the main pages on a website | nav |
| Hero section | Directly under the header | Says what the page is for and gives the main button | first section of main |
| Content sections | The middle of the page | Explains, proves and persuades, one topic per section | main and section |
| Sidebar | Left or right side of the content area | Extra navigation, filters or related links | aside |
| Footer | Bottom of the page | Contact details, links, legal pages and company information | footer |
Every website uses the same building blocks in its own way. A one-page site might have no sidebar at all. An online shop leans heavily on its search bar and filters. The names stay the same, and those are what you need when you’re briefing someone.
Website structure and the pages on a website
Before the sections of a page, it helps to know the three types of pages. Most website structure is a homepage at the top, interior pages underneath, and landing pages built for a single campaign.
Homepage
The homepage is the first page of a website, the one people reach when they type in your domain name. It’s also called the home page, front page or index page. It has to tell a new visitor who you are, what you offer and where to go next, in a few seconds. A good one points people to your products or services and doesn’t try to say everything at once.
Landing pages
A landing page is built for one job, usually for website visitors arriving from an email, a social post, a search result or an event invite. It has one main action, and it often leaves out the full menu so nothing pulls people away. Marketing and events teams use them for registrations, downloads, offers and enquiries.

The example above is our own audit page. The headline matches what people search for, there’s one main action with low-risk wording, and a short list shows exactly what you get. If you run campaigns or events and need pages like this built quickly, that’s what our landing page design service is for, and our guide to landing page SEO covers how to get them found.
Interior pages
Every other page on a website is an interior page. That includes your about page, service pages, product page templates, contact page, FAQ page, blog or articles, and your privacy policy. Visitors reach them through the menu, from other pages or straight from search results, so each one needs to make sense on its own.

Good website structure links these pages in a clear hierarchy. Main sections sit in the menu, related pages sit underneath them, and nothing is more than a few clicks from the home page. That helps users find things, and it helps search engines understand which pages matter most.
The header, the top of every web page
The website header is the strip across the top of a web page. It’s the part of a website people see first and it appears on every page, so it does a lot of work in a small space. A typical one holds the following.
- Logo, which usually links back to the homepage
- Navigation menu, the links to your main pages
- A CTA button, such as “Get a quote” or “Book a demo”
- Contact details, a phone number or email if people call you
- Search bar and basket, on shops and larger sites

Navigation menu
The navigation menu, also called the main menu, nav bar or primary navigation, links to the most important pages. Keep the labels plain, such as Services, Pricing, About and Contact, so visitors recognise them without thinking. On larger sites a dropdown or mega menu groups the deeper pages under each heading.
On phones the links usually collapse behind a hamburger button, the three-line icon. That saves space, but it also hides your options, so keep the most important button visible next to it. That small change makes a real difference to the user experience on mobile.
Utility bar, secondary navigation and search
Many sites add a thin utility bar above the header for things like delivery offers, ratings or a login link. Secondary navigation holds useful links that don’t belong in the main menu, such as careers, help or account pages. Shops and content-heavy sites also put a search bar or search box in the header, because some visitors would rather type than browse.

The hero section
The hero section is the large area at the top of a web page, just under the header. It’s what visitors see before they scroll, often called above the fold, so it carries the page’s main message and sets up the rest of the page. A strong hero has a clear headline, one or two lines that explain the benefit, and a main button. Images or video help, though it’s the words people read.
Interior pages often use a smaller version called a page header or title banner. It shows the page title and sometimes breadcrumb navigation, the trail of links such as Home, Services, Web design that shows where you are on the website.
Sliders were once the default here. Most sites now use a single static message, because the main point is easy to miss when it rotates away after a few seconds.
Content sections, the main part of the page
The content area is the main part of the page, everything between the hero and the footer. On most pages it’s a stack of sections, each with one job. A service page might run like this.
- What the service is and who it’s for
- What’s included
- Proof, such as reviews, case studies or client logos
- How it works, step by step
- Prices or how you’ll get a quote
- Common questions
- A closing call to action
Inside each section, content is laid out in rows and columns. Modern sites build these with CSS grid and flexbox, which is what lets a three-column row on a computer become a single column on a phone. Our guide to responsive web design explains how that works and what it does for search.
Call-to-action buttons (CTA)
A call to action, or CTA, is a button or link that moves people to the next step. Not every content section needs one, but every page should make the next step obvious. Our CTA statistics show how much small wording and placement changes can matter.
Website elements and components inside each section
Sections are the structure. Inside them sit the smaller website components, such as buttons, forms, image galleries, accordions, tabs, testimonials, tables and maps. Designers often call these design elements, and the same few appear on almost every site. Choosing the right ones for each section is a big part of the design process. Our separate guide to the elements of a web page shows each one with a real example and when to use it.
The sidebar
A sidebar is a narrow column beside the main content. Blogs use one for categories, popular posts or a sign-up box. Online shops use one for filters, so visitors can narrow hundreds of products by type, size or price.

Sidebars are less common than they were. On a phone it has to move below the content or into a pop-out panel, so many designers now use the full width for content and only add a sidebar where it truly helps, such as product filters.
The footer, the bottom of the page
The website footer is the section at the bottom of the page. People who scroll that far are often looking for something specific, such as a phone number, an address, a returns policy or a job page, so the footer is where you make those easy to find.

A useful footer usually includes these.
- Contact details, including your address if you have premises
- Links to key pages and services
- Your privacy notice, cookie policy and terms
- Social media links
- Company details
The legal pieces aren’t optional. GOV.UK says a limited company’s website must show its registered number, registered office address, where it’s registered and that it’s a limited company. This is the natural home for that. If your site sets non-essential cookies, the ICO’s cookie guidance says you must explain them and get consent, which is why a cookie settings link usually sits here too.
The website parts you don’t see
Some key parts never appear on the page but still decide how it performs.
- The head section. Hidden code at the top of each page that holds the page title shown in Google, the meta description, links to stylesheets and tracking code.
- Domain name and URL. Your domain is your address, such as yourcompany.co.uk. Each page then has its own URL.
- Hosting. The server that stores your site and sends it to visitors. Slow or unreliable hosting slows every page down.
- Content management system. The software your team uses to edit pages, such as WordPress.
- SEO and tracking. Page titles, structured data and analytics that help search engines understand the site, bring traffic to your website and let you measure results.
Good website structure, how the parts work together
A good website is a page layout that leads someone from “is this for me?” to “here’s what to do next” without making them hunt, and that counts for more than each part being visually appealing on its own. When a site isn’t working, usually some of its parts are doing the wrong job, such as ten menu items and no clear button, a hero section that says nothing about the customer, or no phone number where people scroll down to find it.
Website owners can use the anatomy above as a checklist for their own pages.
- Does the top of the page make the main action obvious on a phone as well as a computer?
- Does the hero say who you help and what you do, in plain words?
- Does each content section answer one question your customers actually ask?
- Can people find your contact details and legal pages at the bottom of the page?
If the answer to several of those is no, a few targeted changes usually help more than a full rebuild. When the structure itself is the problem, a website redesign or new web design fixes it properly. If you’d like a second opinion first, our free website audit checks your pages, speed, SEO and tracking and tells you what to fix first.
Website terminology, a quick cheat sheet
A few more names you’ll hear when you start building a website or ask for changes to one.
- Above the fold, the part of the page visible before anyone scrolls.
- Breadcrumbs, the trail of links showing where a page sits in the site.
- Favicon, the small icon in the browser tab.
- Hamburger menu, the three-line button that opens the menu on phones.
- Mega menu, a large dropdown that shows many links at once.
- Sticky header, a header that stays at the top of the screen as you scroll.
- Slug, the end part of a page’s URL, such as /contact/.
- Template, the shared layout that many pages use, such as every blog post.
- Viewport, the visible area of the screen the page is shown in.
- Widget, a small reusable block, often used in a sidebar or footer.
Common questions about the parts of a website
What are the different sections of a website called?
The usual names are the header, navigation, hero section, content sections, sidebar and footer. Interior pages often add a page header with the page title and breadcrumbs. Designers and developers use these same terms, so they’re the ones to use in a brief.
What is the top part of a website called?
The top part of the page is the header. It holds the logo, the menu and often a button or phone number. The large section just under it on a home page or landing page is the hero.
What is the bottom part of a website called?
It’s the footer. It usually contains contact details, links to key pages, legal links such as the privacy policy, and company information.
What is the first page of a website called?
It’s the homepage, also called the front page or index page. It’s the webpage that loads when someone types your domain without a path after it.
What are the main parts of a URL?
MDN breaks a URL into the scheme (such as https), the authority (the domain name and sometimes a port), the path to the page, optional parameters after a question mark, and an optional anchor after a hash that jumps to part of the page.
Want someone to look after all of these parts for you? Our website support team handles updates, fixes and new pages for marketing and events teams, or start with a free website audit and see what your site needs first.

