Possible Duplicates:
Non-Standard Attributes on HTML Tags. Good Thing? Bad Thing? Your Thoughts?
Is there a generic attribute for all HTML elements aside from ID and class?
I have a series of divs that I would like to attatch extra info to. My idea was to use non-standard attributes to hold these values. Is this a bad idea, or against the W3C specs?
I was thinking something like:
<div children="0" parents="5">My title</div>
I see advantages to this, now I would like to find out what disadvantages there might be.