Sp 73

From Htmlpedia
Jump to: navigation, search

OpenSP: End tag for ... which is not finished


You have probably failed to include a required child element. Hence the parent element is "not finished", not complete.


Bad<ul>My list</ul>
Good<ul><li>My list</li></ul>


Check to be sure you've included all required child elements. Tags which require children are:

  • HTML (requires both a HEAD and a BODY)
  • HEAD (requires TITLE)
  • UL (requires LI)
  • OL (requires LI)
  • DL (requires either DT or DD, and usually both)
  • SELECT (requires an OPTION)
  • TABLE (requires TBODY—in certain cases, the TBODY tag can be left out, meaning TR is required)
  • THEAD, TFOOT, TBODY (require TR)