I see this a lot on site title links in WordPress themes (probably because Underscores does it and everyone copies that):
<a href="/" rel="home">Some Site Title</a>
I cannot find even a semi-authoritative statement anywhere that rel="home"
on an anchor tag is used meaningfully today by any browser, screen reader, or other user agent. The only "official" documentation I've located is this draft specification from 2005 on the microformats.org site.
That doc proposes home
as a valid value on both <link>
tags in the <head>
, as well as <a>
tags. Using it on a <link>
has some pedigree from HTML v3, and there's reference to it in the wild from 2002. But I haven't seen anything about the <a>
tag usage.
So, is including it helpful for anything/anyone? Would I do better to use <link rel="home">
in the <head>
, or is that obsolete too in 2020?
rel
entirely — not only did "home" and "asdf" raise no complaints, but stickingrel
on other random tags (body, script, title) wasn't flagged either. There's a nice table of defined link types (all the "good"rel
values) on MDN. Quite a few are allowed on anchors, actually. – Salonika