The heading starts with <h1> but closes with </h2>, which is a mismatch.
Step 2: Confirm other tags are correct
The <title>, <body>, and <p> tags are properly opened and closed.
Final Answer:
The closing tag for the heading is incorrect. -> Option D
Quick Check:
Matching tags must open and close the same [OK]
Hint: Opening and closing tags must match exactly [OK]
Common Mistakes:
Closing tags with wrong numbers (h1 vs h2)
Forgetting to close body or head tags
Misusing self-closing tags for paragraphs
5. You want to create a simple HTML page with a header, a navigation menu, main content, and a footer. Which semantic tags should you use to organize these parts correctly?
hard
A. <head>, <menu>, <section>, <bottom>
B. <header>, <nav>, <main>, <footer>
C. <header>, <sidebar>, <article>, <footer>
D. <top>, <nav>, <content>, <footer>
Solution
Step 1: Identify semantic tags for page sections
The standard semantic tags for page layout are <header> for the top section, <nav> for navigation menus, <main> for main content, and <footer> for the bottom section.
Step 2: Compare options to correct tags
<header>, <nav>, <main>, <footer> lists all correct semantic tags for these parts. Other options use incorrect or non-standard tags.
Final Answer:
<header>, <nav>, <main>, <footer> -> Option B
Quick Check:
Use semantic tags for clear page structure [OK]
Hint: Use header, nav, main, footer for page sections [OK]
Common Mistakes:
Using non-existent tags like <top> or <bottom>
Confusing <head> with visible header
Using <menu> instead of <nav>
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.