- From: Håkon Wium Lie <howcome@opera.com>
- Date: Thu, 5 Feb 2009 14:27:34 +0100
- To: public-html@w3.org
I write tags by hand and often find myself typing: <p.abstract> or something similar. That is, I use the selector syntax in start tags instead of the more correct: <p class="abstract"> Likewise, I could see myself writing: <p#foo> instead of: <p id="foo"> Allowing these shorthands would simplify and shorten html files. While on the topic of shortening things, I'd also like to see a one-letter generic character-level element. The letter c looks marvellous: <p>foo <c>bar</c> foobar</p> Combinding the two proposals, we could write: <p.abstract>The topic of this paper is the <c.topic>oxidation of sugar</c>. Easier on the eye, isn't it? The markup would neatly comine with: p.abstract { margin: 2em } c.topic { font-weight: bold } Cheers, -h&kon Håkon Wium Lie CTO °þe®ª howcome@opera.com http://people.opera.com/howcome
Received on Thursday, 5 February 2009 13:28:17 UTC