W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2004

[whatwg] WAML 1.0

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Sun, 22 Aug 2004 22:17:31 +0200
Message-ID: <4128FF5B.8090306@annevankesteren.nl>
>> 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.


[1]<http://whatwg.org/specs/web-apps/current-work/#tutorial>


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Sunday, 22 August 2004 13:17:31 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:36 UTC