Forum: Ruby on Rails New Article: Attributes > Classes: Custom DOM Attributes for

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
496ed7f402fc56b1f997855941272ad4?d=identicon&s=25 Pete Forde (Guest)
on 2007-01-09 07:32
(Received via mailing list)
I just published a new article, and I always appreciate feedback from
this community.

XHTML gives us the ability to extend our markup with customized,
semantically meaningful attributes. While the battle between class and
attribute might be a holy war to some (and unknown to most others) the
fact remains that attribute name value pairs are easier to read and
understand, and only attributes allow you to associate a value with
your meta-data. Extending XHTML elements in my projects has made me
think of how to solve problems in new and better ways. It has made me a
stronger JavaScript artisan. In this article, I explain several
examples and provide functions for working with your own custom

This topic is locked and can not be replied to.