Fix the heading structure of a page

Description: This page has a poor heading structure. Fix it.

<h1>Welcome to our shop</h1>
<h1>Running shoes</h1>
<h4>Men's shoes</h4>
<h4>Women's shoes</h4>
<h2>Shipping</h2>
<h5>Free delivery</h5>

Hint:

  • Keep one H1, then H2 for main sections and H3 for parts of a section.

Solution

<h1>Running Shoes Shop</h1>
  <h2>Running shoes</h2>
    <h3>Men's shoes</h3>
    <h3>Women's shoes</h3>
  <h2>Shipping</h2>
    <h3>Free delivery</h3>

How it works

  • There is only one H1 which says the main topic of the page.
  • No level is skipped (no jump from H2 to H5), so the page reads like an outline.

Read Headings.


Learn more about the similar topics:
Tutorials
No Content Found.
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.