- From: David Dorward <david@dorward.me.uk>
- Date: Fri, 23 Jul 2004 09:35:34 +0100
- To: "Uli Schlachter" <u.schlachter@web.de>
- Cc: >list <www-validator@w3.org>
On 21 Jul 2004, at 10:27, Uli Schlachter wrote:
> Line 20, column 57: end tag for element "P" which is not open
>
> <p><h2>Hier wird der unbeliebteste Lehrer gesucht</h2></p>
The part of the error message you didn't quote:
The Validator found an end tag for the above element,
but that element is not currently open. This is often
caused by a leftover end tag from an element that was
removed during editing, or by an implicitly closed
element
The end tag for <p> in HTML is optional, and <p> cannot contain <h2>
therefore this is evaluated with an implicit closing tag for the
paragraph:
<p></p><h2>Hier wird der unbeliebteste Lehrer gesucht</h2></p>
--
David Dorward
<http://dorward.me.uk/>
<http://blog.dorward.me.uk/>
Received on Friday, 23 July 2004 04:36:11 UTC