[Bug 11475] closing <li> tags are missing ?

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11475

Aryeh Gregor <Simetrical+w3cbug@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |Simetrical+w3cbug@gmail.com
         Resolution|                            |INVALID

--- Comment #1 from Aryeh Gregor <Simetrical+w3cbug@gmail.com> 2010-12-05 20:58:03 UTC ---
Closing <li> tags are not required by HTML5:

"A li element's end tag may be omitted if the li element is immediately
followed by another li element or if there is no more content in the parent
element."
http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html#optional-tags

Nor by HTML4, for that matter.  The spec deliberately uses a mix of styles to
make sure people get that multiple styles are valid (unlike XHTML, which forces
lowercase/closing tags/etc.).

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Sunday, 5 December 2010 20:58:05 UTC