Attributes > Classes: Custom DOM Attributes for Fun and Profit

unspace.ca — XHTML gives us the ability to extend our markup with customized, semantically meaningful attributes. The battle between classes and attributes might be a holy war to some.. and unknown to most others. To clear things up, in this article I explain several examples and provide functions for working with your own custom attributes. Jan 9, 2007 View in Crawl 4