On Mon, Jun 04, 2007, Kenton P. Kammer wrote: > 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 why there is an error. My code reads (line 1 is line 25): > > <ul> > <li><a href="/index.html">Home</a></li> > <li><a href="/calendar/index.html">Calendar</a></li> > <ul> In HTML, you can't have a <ul> within a <ul>. You have to have the second-level <ul> in a <li>, like this: <ul> <li>first level stuff <ul> <li>some stuff</li> <li>some more stuff</li> </ul> </li> </ul> -- olivierReceived on Tuesday, 5 June 2007 21:27:06 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:02 UTC