W3C home > Mailing lists > Public > www-validator@w3.org > July 2017

Re: Closed </li> element

From: Philip TAYLOR <P.Taylor@Rhul.Ac.Uk>
Date: Sun, 2 Jul 2017 17:49:21 +0100
To: hexel@tut.by
Cc: www-validator@w3.org
Message-ID: <33bc414c-0612-10fa-100b-7981e95b36af@Rhul.Ac.Uk>


On 7/2/17 5:01 PM, hexel@tut.by wrote:
> browser reads unclosed <li> element like a new list item
>
What leads you to believe that ?  In your original code, repeated below, 
there /*is*/ a new list item, the one that you carefully highlighted in 
red :

> <ul>
> <li><a href="index.html">HOME</a><li>
> <li class="selected"><a href="blog.html">BLOG</a></li>
> <li><a href="">INVENTIONS</a></li>
> <li><a href="">RECIPES</a></li>
> <li><a href="">LOCATIONS</a></li>
> </ul>

-- 
<Signature>
Philip Taylor
Received on Sunday, 2 July 2017 16:50:07 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 27 July 2017 10:16:02 UTC