Posted by Andy Dingley on 07/24/06 10:04
Alok wrote:
> I want to know is there any way to add a custome attribute to the a
> HTML element .
Yes, just stick them in there. It's not valid, but it's also not
harmful (so long as you avoid obviously hazardous names). There is a
long, well-established and well-supported practice in HTML that adding
unknown elements can be a problem but adding unknown attributes is
safely and quietly ignored.
Navigation:
[Reply to this message]
|