🤔 Mastodon recommends a a[rel=me] link to indicate ownership of a linked website, but rel=me isn't allowed on <a> tags? Should it be link[rel=me] instead?

#html #mastodon #indieweb

https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/me

Link types&colon; me - HTML&colon; HyperText Markup Language | MDN

The me keyword for the rel attribute of the <link> and <a> elements indicates that the current resource is represented by the linked party. The me value was introduced in the XHTML Friends Network (XFN) specification.

On that link ^ it says <a> is ok, but on another page mdn says rel=me isn't allowed on <a>
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel
HTML attribute: rel - HTML: HyperText Markup Language | MDN

The rel attribute defines the relationship between a linked resource and the current document. Valid on <link>, <a>, <area>, and <form>, the supported values depend on the element on which the attribute is found.

MDN Web Docs
Update reference of rel=me value for <a> links by mehulkar · Pull Request #22265 · mdn/content

Description The page for me says that it is allowed on <a> elements. But this table suggests that it is "not allowed" on <a> (or is it only not allowed on <area> ? It was a bit confusing, so I'm ma...

GitHub
@mehulkar I had the same confusion a few days ago. I think it is allowed on <a> links.
@crystal good to know, thanks for the reply!