Recently I have been reading more and more about people using custom attributes in their HTML tags, mainly for the purpose of embedding some extra bits of data for use in ja
I see no problem in using existing XHTML features without breaking anything or extending your namespace. Let's take a look at a small example:
Hi!
How to add additional information to some_content without additional attributes? What about adding another tag like the following?
Some alternative content.
Hi!
It keeps the relation via a well defined id/extension "_extended" of your choice and by its position in the hierarchy. I often use this approach together with jQuery and without actually using Ajax like techniques.