hwg-basics archives | Feb 2000 | new search | results | previous | next |
Re: Validations..Help!!by "Cindy Stanley - Stanley Support Service" <stanleysupport(at)prodigy.net> |
|
From: Rayne Alburquerque <rayneal(at)home.com> >I have a question about the <li> tags. Here is the code: > ><ul> ><li>Item 1</li> ><li> > <ul> > <li>Item 1 sub</li> > </ul> ></li> ><li>Item 2</li> ></ul> > >Can anyone explain what is wrong with the code that would cause the >validation error? It tells me that the inside <ul> tag is not valid where >placed. When taking out the end <li> tag for the nested list, It validated >correctly. >If they are optional, shouldn't it work? Yes, it should validate, but this could go back to what doc type you are using and also to exactly what the error reads. Something similar happens when using the </p>, which is also "optional", so therefore, I always opt *not* to use the </p> nor the </li> tag. -- Cindy K. Stanley Stanley Support Service
HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA