开发者

index, first and last meta links and rel attributes

Are the "index", "first" and "last" meta links and rel attributes deprecated?

I'm developing a cms that uses them for pagination in the head's meta links and rel attributes within the pagination nav.

But when I wanted to validate the page as html5 I got them as a bad value.

Where are they gone? only "prev" and "next" pass the validation.

Even in the whatwg list they don't exist http://www.whatwg.org/specs/web-apps/current-work/multipage/links.html#linkTypes

Should I remov开发者_运维百科e them?

Thanks.


HTML5 adopted this Change Proposal as documented here

Frankly, the arguments are dubious. There are plug-ins for browsers, one of which I use, which make use of rel="first" and rel="last".

The rel registry is now officially run by the Microformats.com site. Hopefully, the "index", "first" and "last" rel types will be readopted there in due course.

UPDATE: Note that there is a ongoing discussion about this on the W3C HTML5 WG mailing list. The thread starts at http://lists.w3.org/Archives/Public/public-html/2011Jun/0314.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜