Sp 78

From Htmlpedia
Revision as of 21:35, 29 September 2007 by Mgueury (talk | contribs) (Reverted edits by ElcatRgetr (Talk); changed back to last version by Arden42)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

OpenSP: ... not finished but containing element ended

Cause:

A containing element was closed before one of the elements it contains was finished. This can occur if a non-optional closing tag is omitted, or if the contained element is missing a required child element.

Example:

Bad<table>

<tr>
<td>table</td>
<tr>
</table>

Good<table>

<tr>
<td>table</td>
</tr>

</table>

Notice that the closing "tr" is incorrect.

Example:

Bad<html>

<head>
</head>
</html>

Good<html>

<head>
<title>Page Title</title>
</head>
</html>

Notice that the <title> element is required.

Solution:

Complete the contained element before closing the container.

References: