Home / Learn HTML / HTML Mistake Finder

HTML Mistake Finder

Fix the broken HTML. Each page has hidden mistakes. Find them all and the checker tells you when you are right.

In shortFind the mistakes, fix the code, press Check my answer.

Each box below holds HTML with mistakes, like the ones real pages have. Find them, fix the code and press Check my answer. Use the hint button when you are stuck. Fixed bugs are saved in your browser.

Bug hunt 1: the shop page3 mistakes to find

Goal: There are 3 mistakes. Find them and fix them.

  • Only one h1
  • The image has alt text
  • The new tab link has rel="noopener"
Bug hunt 2: the broken form3 mistakes to find

Goal: There are 3 mistakes in this form.

  • The label is connected to the input
  • The input uses type="email"
  • Cancel does not submit (type="button")
Bug hunt 3: old and crossed tags3 mistakes to find

Goal: There are 3 mistakes.

  • No obsolete center or font tags
  • Tags are closed in the right order
  • Still has the text "Sale!"
Bug hunt 4: table and list2 mistakes to find

Goal: There are 2 mistakes.

  • The table has header cells (th)
  • No p directly inside the list
  • The list still has 2 items
Bug hunt 5: the page head4 mistakes to find

Goal: The page skeleton misses 4 things.

  • Has the doctype
  • html has lang
  • Title has text
  • Has the viewport meta
Bug hunt 6: ids and symbols3 mistakes to find

Goal: There are 3 mistakes.

  • All ids are unique
  • < is written as &lt;
  • & is written as &amp;
Bug hunt 7: media and links3 mistakes to find

Goal: There are 3 accessibility mistakes.

  • The video has controls
  • No image uses the alt "image" or an empty alt
  • Both images still exist
Tip:After this, read Common HTML mistakes for 15 more examples.
My notes
Ask a question about this lesson