[whatwg] proposal - link relations: rel="prefetch" to be exchanged for a boolean attribute
Simetrical+w3c at gmail.com
Mon Jul 5 13:06:12 PDT 2010
On Sun, Jul 4, 2010 at 10:41 PM, Ben Schwarz <ben.schwarz at gmail.com> wrote:
> However, as far as my understanding goes, linkrels should not contain
> multiple values; eg:
> <a rel="prefetch next">Next page</a>
They can. See the spec:
"The types of link indicated (the relationships) are given by the
value of the rel attribute, which, if present, must have a value that
is a set of space-separated tokens."
It's allowed to have multiple types separated by spaces. This is
common in some cases, like rel="alternate stylesheet".
More information about the whatwg