Skip to main content
HTML Bug Hunt Medium +20 XP

Unclosed Tag

This HTML is broken. Find the bug.

HTMLFind the bug
1<ul>
2 <li>Apple
3 <li>Banana
4 <li>Cherry
5</ul>
The bug is on line 2

Select the correct fix

Show answer and explanation

Answer: Add </li> closing tags

While browsers are forgiving, best practice requires closing <li> tags for valid HTML.

Hint: Every opening tag should have a closing tag.

What this challenge tests

Bug Hunt in HTML: lists, closing-tags.

Related challenges