01
A website is made up of sections.
A professional webpage can usually be divided into blocks:
Header and navigation.
Main introduction.
Information about the project.
Services or content.
Call to action.
Footer.
HTML lets us represent that organisation using semantic elements.
02
What does semantic HTML mean?
Semantic HTML means using elements whose names describe their purpose on the page.
<header>
Represents a page or section header.
<main>
Contains the main content of the page.
<footer>
Represents a page or section footer.
03
The website header.
Start by creating a header and navigation menu.
<nav>
<a href="index.html">My project</a>
<a href="#about">About</a>
<a href="#services">Services</a>
<a href="#contact">Contact</a>
</nav>
</header>
The nav element identifies a block of navigation links.
04
Create the main content.
After the header, add:
</main>
Inside main we will place the sections of our page.
05
Build the main introduction.
The first section usually explains what the website offers.
<h1>Digital design for purposeful projects</h1>
<p>
We create clear, functional
and professional digital solutions.
</p>
<a href="#services">View services</a>
</section>
Here we have three essential elements: a heading, an explanation and a call to action.
06
Add an About section.
Now create a second section.
<h2>About the project</h2>
<p>We turn ideas into clear, professional digital experiences.</p>
</section>
We have added an identifier:
This lets us link directly to the section:
07
Add a services section.
Use several article elements for independent pieces of content.
<h2>Services</h2>
<article>
<h3>Web design</h3>
<p>Clear, professional websites.</p>
</article>
<article>
<h3>SEO</h3>
<p>Search engine optimisation.</p>
</article>
</section>
08
Add a call to action.
A professional website should guide visitors towards the next step. Add a contact section:
<h2>Have a project?</h2>
<p>Tell us what you need and let's talk.</p>
<a href="mailto:hello@example.com">Get in touch</a>
</section>
09
Finish with the footer.
The footer normally appears at the bottom of the page.
<p>© 2026 My project</p>
</footer>
Later we could add legal links, social media, contact information and other elements.
10
Your complete page.
Putting everything together gives us this structure:
<header>
<nav>...</nav>
</header>
<main>
<section>Introduction</section>
<section id="about">About</section>
<section id="services">Services</section>
<section id="contact">Contact</section>
</main>
<footer>Footer</footer>
</body>
We now have the skeleton of a complete webpage.
SUMMARY
What you have learned.
- A webpage can be divided into sections.
- Semantic HTML describes the purpose of content.
- header represents the header.
- nav contains navigation.
- main contains the main content.
- section organises content blocks.
- article represents independent content.
- footer represents the footer.
- id attributes allow links to sections.
PUT IT INTO PRACTICE
Build your website skeleton.
Open the my-first-website project from previous lessons. Replace the content of your body with:
- A header.
- A nav menu.
- A main element.
- A main section with h1.
- An About section.
- A Services section.
- A Contact section.
- A footer.
Use your own text. What matters now is building a clear structure.