Headings (h1 to h6), online
Six activities your students do on their own devices. See who's finished, and their scores.
Headings (h1 to h6) in one minute
What students need to know
Headings should descend in order: h1, h2, h3. Skipping levels breaks the document structure and accessibility. HTML has exactly six heading elements: <h1> through <h6>. There is no <h7> or higher.
<h1> is the most important heading - it is the largest and should be used for the main page title. HTML tag names must be lowercase. The correct form is <h2> not <H2>.
Mistakes students make
- HTML heading tags must be lowercase. <H1> with a capital H is non-standard. The correct form is <h1> and </h1> in lowercase.
- Heading levels should not be skipped. Jumping from h1 directly to h3 skips h2, which breaks the heading hierarchy.
- The third heading is missing a closing </h2> tag. The second <h2> should be </h2> with a forward slash to close the element.
- There is no <h7> element in HTML. Headings only go from <h1> to <h6>. Use <h6> for the deepest heading level.
What students will learn in this module
Every question in Module 8
Quick questions
- Which heading tag creates the most important and largest heading?A<h6>B<h1>
- How many h1 elements should a page typically have?AOneBAs many as needed
- True or false: HTML has heading levels h1 through h7.ATrueBFalse
- Which heading level comes directly after h2 in the correct hierarchy?Ah3Bh4
- True or false: <H2> with a capital H is valid HTML.AFalseBTrue
Key terms
Students type the meaning of:
<h1>
Match the pairs
<h1>My Website</h1>Match it to what it does<h6>Fine Print</h6>Match it to what it doesHeading levels should be used in order - never skip from h1 to h3Match it to what it doesHTML provides six heading levels from most important to least importantMatch it to what it does<H2>Section Title</H2>Match it to what it does<h2>Intro<h2>Match it to what it doesFill in the blanks
<___>Welcome to My Page</h1>
Hint: Type the most important heading tag name
<___>About Us</h2>
Hint: Type the second-level heading tag name
<h3>My Hobbies</___>
Hint: Type the closing tag name that matches the opening h3 tag
<body> <___>Section Title</h4> </body>
Hint: Type the fourth-level heading tag name
<___>Fine Print</h6>
Hint: Type the smallest and least important heading tag name
Spot the error
Question 1
A<H1>Main Title</H1>B<h2>Subtitle</h2>C<h3>Section</h3>
Question 2
A<h1>Page Title</h1>B <h3>Skipped Level</h3>C <h2>Back to Two</h2>D<p>Content</p>
Question 3
A<h1>Title</h1>B<h2>Intro</h2>C<h2>About<h2>D<p>Text</p>
Question 4
A<h1>Welcome</h1>B<h2>Section One</h2>C<h3>Subsection</h3>D<h7>Too Deep</h7>
Question 5
A<body>B <h1>Main Title</h1>C <h2>Chapter One</h2>D <h3>Topic</h3>E <H4>Sub-topic</H4>F</body>
