W3C home > Mailing lists > Public > public-html@w3.org > May 2007

Re[2]: brainstorm: attributes as virtual tags

From: Dmitry Turin <html60@narod.ru>
Date: Mon, 21 May 2007 18:41:59 +0400
Message-ID: <315000417.20070521184159@narod.ru>
To: public-html@w3.org

Good day, Dão.

DG> Apparently Dmitry messed up his own example. Originally, he wanted to
DG> use different colors for different attributes.

Yes.

Illustration of idea in previous example is:
<style>
  §a1 {color: red   }
  §a2 {color: green }
  §a3 {color: brown }
</style>
<body>
  <a a1="x" a2="y" a3="z">
</body>

Illustration of idea in last example is:
<style>
  §name    {color: red  }
  §surname {color: gray }
</style>
<body>
  <record1 name= surname= >
  <record2 name= surname= >
</body>

>> Anyway, Isn't this best left up to the CSS WG?

Primarily i think about virtual tags
in context of 'display', 'appearance'.
I will do as you say.


Dmitry Turin
http://html6.by.ru
http://sql4.by.ru
http://computer2.by.ru
Received on Tuesday, 22 May 2007 13:13:14 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:15:58 GMT