W3C home > Mailing lists > Public > www-validator@w3.org > May 2004

Re: [VE][66] New Error Message Suggestion

From: Liam Quinn <liam@htmlhelp.com>
Date: Sat, 29 May 2004 22:55:39 -0400 (EDT)
To: Joseph Bell <jlbell@charter.net>
Cc: www-validator@w3.org
Message-ID: <Pine.LNX.4.44.0405292254390.12782-100000@localhost.localdomain>

On Sat, 29 May 2004, Joseph Bell wrote:

> In Section 7.5.4 "Grouping elements: the DIV and SPAN elements", the W#C
> Recommendations (at
> http://www.w3.org/TR/REC-html40/struct/global.html#h-7.5.4 ) give
> examples that include <P> elements inside of <DIV> elements.
> The W3C validator for Doctype "XHTML 1.0 Transitional" flags this use of
> <P> inside of <DIV> elements as an error, multiple times.  The error
> message is "document type does not allow the element "p" here; assuming
> missing "li" start-tag"

"ol" and "ul" elements can only contain "li" elements directly.

Liam Quinn
Received on Saturday, 29 May 2004 22:54:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:13 GMT