Is it a bad practice to add extra attributes to html elements?
Posted
by burak ozdogan
on Stack Overflow
See other posts from Stack Overflow
or by burak ozdogan
Published on 2010-04-30T12:27:59Z
Indexed on
2010/04/30
12:37 UTC
Read the original article
Hit count: 418
Hi,
Sometimes I add an attribute to some of my controls. Like:
<a href id="myLlink" isClimber="True">Chris Sharma</a>
I know it is not a valid html. But it helps me in some cases.
Is this considered as a bad practice? A friend of mine says that it is ok for Intranet environment but on internet it might not be find friendly by search engines.
If it is not a good practice, what are the best practicess?
Thanks
© Stack Overflow or respective owner