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

Extending HTML yourself [was: New XHTML 1.1 Attribute]

From: Dan Connolly <connolly@w3.org>
Date: Fri, 11 Aug 2000 12:07:27 -0500
Message-ID: <399432CF.A3C6FB95@w3.org>
To: Sean Palmer <sean_b_palmer@yahoo.com>
CC: www-html@w3.org
Sean Palmer wrote:
> Here is a thought that has been exciting me for quite
> a long time now; a new attribute in XHTML 1.1;
> "comment".
> <hr style="color:green;" comment="was blue" />

With XHTML, you don't need to pray to the HTML Gods
for new markup any more: you can Just Do It, as long
as you use namespaces:

 xmlns:util="**your identifier here***"
<hr style="color:green;" util:comment="was blue" />

If other folks like your new markup idiom, they can use
it too. If enough folks like it, maybe the HTML Gods
will standardize it someday. But meanwhile, we can
all get our jobs done.

I worked this example out in detail, using XML Schemas
and everything. Take a look:

Extending HTML with your own Comment attribute


schema validation results:


Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Friday, 11 August 2000 13:09:48 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 30 April 2020 16:20:40 UTC