Skip to main content

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. 1

    Set the page title

    easy10 min

    Add a title element for the browser tab.

  2. 2

    Describe the page

    easy10 min

    Add a meta description for the document.

  3. 3

    Link a stylesheet

    easy10 min

    Link an external stylesheet.

  4. 4

    Add a favicon

    easy10 min

    Link an icon for the browser tab.

  5. 5

    Set the canonical URL

    medium10 min

    Add a canonical link.

Find the bug(5)

  1. 1

    Fix the heading used as the page title

    easy8 min

    The browser tab needs a title element, not an h1.

  2. 2

    Fix the missing page title

    easy8 min

    The document has no title element for the browser tab.

  3. 3

    Fix the stylesheet rel

    easy8 min

    The rel value must be stylesheet.

  4. 4

    Fix the script used to load CSS

    easy8 min

    Stylesheets are linked, not scripted.

  5. 5

    Fix the icon rel value

    easy8 min

    A 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