Re: Closed </li> element

> I have found an issue. Validator does not pay attention to unclosed <li>
> element if it goes after closed </a>.

It does, it’s just perfectly valid HTML. A parser would automatically
“close” this element just before the next opening <li>.

See https://html.spec.whatwg.org/multipage/syntax.html#elements-2 for
more details (look for “omitted”).

(Omitting *all* optional tags can be a very effective way of
simplifying HTML, but it’s not a wide-spread practice.)

-- 
Jens Oliver Meiert
https://meiert.com/en/

Received on Friday, 30 June 2017 10:36:19 UTC