HTML Semantic Layout Tags — exercises and bug fixes
5 hands-on exercises and 5 find-the-bug challenges for the HTML Semantic Layout Tags lesson. Every one is checked automatically in the browser — write the code, run it, and the tests tell you what still fails.
Exercises(5)
- 1
Add a page header
easy10 minAdd a header containing a site name.
- 2
Add the main region
easy10 minWrap the primary content in main.
- 3
Add navigation
easy10 minAdd a nav with two links.
- 4
Add a footer
easy10 minAdd a footer with copyright text.
- 5
Assemble a full layout
medium10 minCombine header, nav, main and footer.
Find the bug(5)
- 1
Fix the div used as a header
easy8 minThe banner region should be a header element.
- 2
Fix the missing main landmark
easy8 minThe primary content is not marked as main.
- 3
Fix the navigation list of divs
easy8 minSite navigation belongs in a nav element.
- 4
Fix the footer marked as a section
easy8 minThe closing region should be a footer.
- 5
Fix the aside used for main content
easy8 minPrimary content should not be an aside.
Ready to write the code?
The editor, the automatic checks and the worked solutions open up with an account.
Open the workspace