I wish that XHTML didn't need attributes to assign IDs and classes to elements... It seems that using a shorthand using the same format that selectors use would be a more simple way of doing this, and save on the number of characters needed in your documents (which, admittedly, doesn't matter but is nice on huge projects with high traffic).
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>http://monokro.me</title>
</head>
<body>
<div#test>
<span.error>This is text.</span>
</div>
</body>
</html>
Posted on 2010-02-28 at 15:19:24
(permalink)
Comments