HTML is made of elements. Most have an opening tag, content and a closing tag:

Headings and paragraphs
<h1> is the main heading — one per page. <h2> to <h6> are sub-headings in order of importance. Paragraphs go in <p>.
<h1>Bukka Express</h1>
<p>Home-style Nigerian food, delivered hot across Lagos.</p>
<h2>Today's specials</h2>
<p>Ofada rice with <strong>ayamase</strong> sauce, and <em>freshly</em> fried plantain.</p>
<h2>Opening hours</h2>
<p>Monday to Saturday, 8am – 9pm.<br>Sunday, 12 noon – 8pm.</p><strong>— important (shown bold).<em>— emphasis (italic).<br>— a line break. It has no closing tag (an empty element), like<img>and<meta>.
Pick headings for their meaning, not their size — you'll control size with CSS.
Lists
<h2>What you need</h2>
<ul>
<li>2 cups of rice</li>
<li>Tomato and pepper blend</li>
<li>Seasoning cubes</li>
</ul>
<h2>Steps</h2>
<ol>
<li>Fry the blend until the oil rises.</li>
<li>Add the rice and stock.</li>
<li>Cover and cook on low heat.</li>
</ol><ul> is an unordered (bulleted) list; <ol> is ordered (numbered). Each item is an <li>.
Links
<a href="https://psalmedulabs.com">Visit PsalmEdu</a> <!-- another website -->
<a href="about.html">About us</a> <!-- a page in your site -->
<a href="#contact">Contact</a> <!-- a section with id="contact" -->
<a href="tel:+2348031234567">Call us</a> <!-- phone call on mobile -->
<a href="https://wa.me/2348031234567">Chat on WhatsApp</a>
Add target="_blank" to open a link in a new tab. Write link text that makes sense on its own — “Download the menu”, not “click here”.
Images
<img src="images/jollof.jpg" alt="A plate of jollof rice with fried plantain" width="600" height="400">
src— the file's path or URL.alt— a description for people who can't see the image (screen readers, slow networks). Always include it. For purely decorative images usealt="".widthandheight— let the browser reserve space so the page doesn't jump while loading.
Check yourself
Answer in your head first, then open each question to see the answer and why.
How many <h1> elements should a page normally have?
- A One
- B As many as you like
- C None
- D Exactly three
Show the answer
A) One — One main heading describes the page.
Why must images have alt text?
- A So people who can't see the image still get its meaning
- B To make images load faster
- C To make images bigger
- D It's optional decoration
Show the answer
A) So people who can't see the image still get its meaning — Screen readers read the alt text; it also shows if the image fails to load.
Which element creates a numbered list?
- A <ol>
- B <ul>
- C <li>
- D <nl>
Show the answer
A) <ol> — Ordered list = numbered.
More free lessons: What front-end developers do · Set up VS Code, Chrome and Live Server · Selectors, colours and fonts · Mobile-first design and media queries · Variables, data types and operators · The DOM: find and change page elements · Git and GitHub