|
Posted by Alan J. Flavell on 10/20/05 22:36
On Thu, 20 Oct 2005, Arne quoted:
> Line 268 column 7: end tag for element "DIV" which is not open.
[...]
> Explanation: The Validator found an end tag for the above element
and apparently tried to explain:
> (the "element" is the whole div tag),
Er, no: an "element", in a properly formed document, would be
everything from the start tag (in this case <div>) to the end tag (in
this case </div>), inclusive.
In this case, however, the report is saying that the end tag doesn't
match with with a corresponding start tag, so there isn't really a div
"element" there, although the presence of the </div> seems to indicate
that there ought to be.
> This is often caused by a leftover end tag from an element that
> was removed during editing, or by an implicitly closed element (if you
> have an error related to an element being used where it is not allowed.
Quite so. I was only picking up your IMHO misleading gloss on the
term "element".
http://www.w3.org/TR/REC-html40/intro/sgmltut.html#h-3.2.1
On a lighter note, see "Not the SGML FAQ", Part 5, at:
http://www.flightlab.com/~joe/sgml/faq-not.txt
have fun
Navigation:
[Reply to this message]
|