W3C home > Mailing lists > Public > www-validator@w3.org > June 2007

Re: Error regarding <ul> tag within a <ul>

From: Sierk Bornemann <sierkb@gmx.de>
Date: Tue, 5 Jun 2007 22:37:53 +0200
Message-Id: <B80175F8-0483-4F9E-B93D-85BC3A37E028@gmx.de>
Cc: www-validator@w3.org
To: webmaster@kpkammer.8k.com

Am 05.06.2007 um 07:24 schrieb Kenton P. Kammer:

> I am trying to validate http://bass.kpkammer.com/index.html.
> I receive 3 errors  (all the same line 28,34,&40) regarding the  
> unordered list tag (<ul>).
> The error states:
>    Error Line 28, column 7: document type does not allow element  
> "UL" here; assuming missing "LI" start-tag .
>      <ul>
> I don't understand what the error is.  Can you help me resolve this?

The <ul> element consist, like the <li>-Element, of an opening tag,  
<ul>, and a closing tag, </ul>.
You have forgotten to close each of the <ul> elements with </ul>. The  
validator expects, because of not finding the end tag of the <ul>  
list, that yet another list item <li>Item</li> will follow. That's  
the cause of the error message.
Close each of your opened <ul> lists with </ul> and you will be fine  
concerning this error.

Sierk Bornemann
WWW:              http://sierkbornemann.de/
Received on Tuesday, 5 June 2007 20:38:05 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:02 UTC