W3C home > Mailing lists > Public > www-html@w3.org > August 2000

RE: XHTML Invalidity / WML2 / New XHTML 1.1 Attribute

From: Bertilo Wennergren <bertilow@hem.passagen.se>
Date: Fri, 11 Aug 2000 15:36:50 +0200
To: <www-html@w3.org>
Message-ID: <NEBBLKKAILEODMBLCACDEEMICBAA.bertilow@hem.passagen.se>
Rowland Shaw:

> I guess that's when a standard comment would suffice??

No. Standard comments are just floating around with no clear relation
to the various elements in the page. Compare:

  <img src="bluemoon.gif" />
  <img src="greencheese.gif" comment="replace with better image when X delivers" />
  <img src="blackbird.gif" comment="This image has been approved by the boss" />
  <img src="whitesnow.gif" />

and

  <img src="bluemoon.gif" />
  <!-- replace with better image when X delivers -->
  <img src="greencheese.gif" />
  <!-- This image has been approved by the boss -->
  <img src="blackbird.gif" />
  <img src="whitesnow.gif" />

"This image"? Which image? How much clearer and more convenient with
comment attributes!

And then, in XHTML used as XML, applications can be made to _act_
upon the content of comment attributes!

#####################################################################
                          Bertilo Wennergren
                  <http://purl.oclc.org/net/bertilo>
                      <bertilow@hem.passagen.se>
#####################################################################
Received on Friday, 11 August 2000 09:38:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:43 GMT