Thursday, September 10, 2015

The rel attribute in HTML tags!

This suggests that the browser never uses it and that it is really just a place to keep some metadata that search engines might care about. nofollow links (put "nofollow" inside the rel attribute) used to be mildly trendy a while back. This suggests they are a way to tell search engines not to crawl a link. In this training rel was suggested to me to be good extra attribute to use in WatiN testing to store some bit of information at a tag. WatiN would then sniff out the whatever-it-was. It was wise to use this thing as it was recognized and yet you weren't really going to use it for something else. I really can't remember the context.

No comments:

Post a Comment