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

On 7/4/10, Ben Schwarz <ben.schwarz at gmail.com> wrote:
> Hi All,
>
>
[...]

>
> However, as far as my understanding goes, linkrels should not contain
> multiple values; eg:
>
> <a rel="prefetch next">Next page</a>
>
Why not? They can in HTML4.

http://www.w3.org/TR/html401/struct/links.html#adef-rel

rel = link-types  [CI]
    This attribute describes the relationship from the current
document to the anchor specified by the href attribute. The value of
this attribute is a space-separated list of link types.

Though many, for some odd reason, seem to want to separate those with
comma, not space. Quite often seen: rel="noindex, nofollow", when it
should be just: rel="noindex, nofollow".

Garrett

Received on Sunday, 4 July 2010 20:27:04 UTC