W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2010

[whatwg] proposal - link relations: rel="prefetch" to be exchanged for a boolean attribute

From: Aryeh Gregor <Simetrical+w3c@gmail.com>
Date: Mon, 5 Jul 2010 16:06:12 -0400
Message-ID: <AANLkTinR6qiO7Wd4DimjHedK7PUvT5kcxr0QUhliuXqY@mail.gmail.com>
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".
Received on Monday, 5 July 2010 13:06:12 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:24 UTC