HTML Head Element Tags — exercises and bug fixes
5 hands-on exercises and 5 find-the-bug challenges for the HTML Head Element 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
Set the page title
easy10 minAdd a title element for the browser tab.
- 2
Describe the page
easy10 minAdd a meta description for the document.
- 3
Link a stylesheet
easy10 minLink an external stylesheet.
- 4
Add a favicon
easy10 minLink an icon for the browser tab.
- 5
Set the canonical URL
medium10 minAdd a canonical link.
Find the bug(5)
- 1
Fix the heading used as the page title
easy8 minThe browser tab needs a title element, not an h1.
- 2
Fix the missing page title
easy8 minThe document has no title element for the browser tab.
- 3
Fix the stylesheet rel
easy8 minThe rel value must be stylesheet.
- 4
Fix the script used to load CSS
easy8 minStylesheets are linked, not scripted.
- 5
Fix the icon rel value
easy8 minA favicon uses rel="icon".
Ready to write the code?
The editor, the automatic checks and the worked solutions open up with an account.
Open the workspace