[whatwg] WAML 1.0

Anne van Kesteren fora at annevankesteren.nl
Sun Aug 22 13:17:31 PDT 2004

>> Just a quick comment on Section 2.1.
>> In the first code sample, the '/' is missing from all the close
>> tags of the 'li' elements.
> Those examples are HTML, not XHTML, and so do not need the XML
> empty-tag notation.

Ian, I believe you are missing the point. Let me quote an example[1]:

# <menu id="file">
#    <li><button type="button" onclick="fnew()">New...</button><li>
#    <li><button type="button" onclick="fopen()">Open...</button><li>

The LI open-tag after the BUTTON closing-tag should really be a LI 
closing-tag as in:

  <menu id="file">
     <li><button type="button" onclick="fnew()">New...</button></li>
     <li><button type="button" onclick="fopen()">Open...</button></li>

Of course, this applies to all of LI 
open-tags-that-should-be-closing-tags in the example.


  Anne van Kesteren

More information about the whatwg mailing list