3 ms·
your link says: The next keyword may be used with link, a, and area elements of course it is allowed to put it in <link>. And if your badly sanitized HTML (wh
by detaro 11y ago
your link says:
The next keyword may be used with link, a, and area elements
of course it is allowed to put it in <link>. And if your badly sanitized HTML (which hopefully did strip the malicious onClick handler ;)) includes an <a rel="" href="">, are we sure that parsers will prefer the <link> in the header? Or will Google and others actively ignore the <a>, despite the standard allowing it on both? That would be useful to know.
For simple bots putting it in an easy-to-discover link in <head> might be good, but a search engine and a browser both have to parse the entire page anyways...