W3C home > Mailing lists > Public > public-html@w3.org > September 2015

Re: nav > ul is sometimes redundant

From: Marat Tanalin <mtanalin@yandex.ru>
Date: Thu, 03 Sep 2015 17:57:07 +0300
To: Matt Di Pasquale <liveloveprosper@gmail.com>, "public-html@w3.org" <public-html@w3.org>
Message-Id: <325461441292227@web21j.yandex.ru>
03.09.2015, 16:53, "Matt Di Pasquale" <liveloveprosper@gmail.com>:
> <nav>
>  <ul>
>   <li><a href="/">Home</a></li>
>   <li><a href="/about">About</a></li>
>   <li><a href="/contact">Contact</a></li>
>  </ul>
> </nav>
>
> Why do I need the extra nav element? Wouldn't it be simpler if I could remove the nav element and perhaps replace the ul element with an nl element?

Instead of inventing another navigation-semantics element like `NL`, it would probably be more reasonable to be able to omit nested `UL` and put `LI` items directly inside `NAV`.
Received on Thursday, 3 September 2015 14:57:43 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:46:16 UTC