W3C home > Mailing lists > Public > www-validator@w3.org > August 2001

Re: validation problem with nested lists

From: Dmitri Klimenko <dg@humorist.ru>
Date: Fri, 10 Aug 2001 11:35:20 -0400
Message-ID: <000e01c121b2$10fbfe90$4d782b18@CR194084C>
To: "Robert Latham" <r.latham@miscapital.com>
Cc: <www-validator@w3.org>
That's because your lists aren't properly nested, i suppose. The inner <ul>
should be inside <li></li> tags, not between them. And when you remove the
closing </li>, it looks to the validator like <ul> is indeed inside <li>'s,
since the closing tag is optional, and it validates.

> 05          <LI>Accrual rules (where appropriate)<br><br></li>
> 06            <ul class="indent">
should be:
<ul> <!-- outer list-->
    <li> bla bla
         <ul> <!-- inner list -->
            <li> bla bla </li>
            <li> bla bla </li>
    <li> bla bla bla </li>
Received on Friday, 10 August 2001 11:35:37 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:30 UTC