Is it a bad practice to add extra attributes to html elements?
- by burak ozdogan
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