开发者

index, first and last meta links and rel attributes

开发者 https://www.devze.com 2023-03-14 19:09 出处:网络
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 paginat

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

精彩评论

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