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

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 UTC