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

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