Skip to main content

HTML Guide

Free site validation

Find out what web pages on your sites are affected by HTML issues.

End tag “li” seen, but there were open elements.

A closing tag </li> has been found, but there were open elements nested inside the <li>. You need to close the nested elements before you close the <li>.

A closing tag </li> has been found, but there were open elements nested inside the <li>. You need to close the nested elements before you close the <li>.

For example:

<li>
  <span>example
</li>

The above is invalid because you need to close the <span> tag before you close the <li>.

This would be valid:

<li>
  <span>example</span>
</li>

Related W3C validator issues