rel rev参数

HTML DOM rel属性

The rel property sets or returns the relationship to a forward link.
rel属性可用来设置或返回当前文档与前往连接的关系。

The rel and rev properties work together.
rel和rev属性得一起工作

The rel (relationship) property specifies a relationship to the target. The rev (reverse) property specifies a reverse link from the target document to the current document.
rel属性指定目标关系。rev属性指定反向目标关系

These properties are used by search engines to provide a linked navigation menu.
这些属性被搜索用来提供被连接的导航菜单

Syntax
语法
anchorObject.rel=relationship

Both properties can have one of the following values:
这两个属性可在下面这些值里拥有其中的一个:

Value

Description
描述

appendix
Link to the appendix page of a document
连接到文档的附录页

alternate
Link to an alternative source
连接到其它来源

bookmark
Link to a bookmark. Often used for "permalink" in web blogs
连接到书签。一些blog经常用到的。

chapter
Link to a chapter from the current documents
连接到当前文档的标题

contents
Link to the table of contents in the current document
连接到当前文档的表格内容

copyright
Link to copyright or policy page of the current document
连接到当前文档页著作权或政策部分

glossary
Link to glossary page of the document
连接到当前文档的词汇页

index
Link to the index page of the current document
连接到当前文档的索引页

next
Link to next page from the current document
连接到当前文档的下一页

prev
Link to the previous page from the current document
连接到当前文档的前一页

section
Link to a section in a list of documents
连接到文档清单列表

start
Link to the first page of the current documents. Used by search engines to show the first page
连接到当前文档的第一张页面。

subsection
Link to a sub-section in a list of current documents. ( Note that a section can have multiple sub-sections)
连接到当前文档的副清单列表。

HTML DOM rev属性

The rev property sets or returns the reverse relationship of a link.
rev属性可设置或返回反向连接关系

The rel and rev properties work together.
rel和rev属性得一起工作

The rel (relationship) property specifies a relationship to the target. The rev (reverse) property specifies a reverse link from the target document to the current document.
rel属性指定目标关系。rev属性指定反向目标关系

These properties are used by search engines to provide a linked navigation menu.
这些属性被搜索用来提供被连接的导航菜单

Syntax
语法
anchorObject.rev=relationship

Both properties can have one of the following values:
这两个属性可在下面这些值里拥有其中的一个:

Value

Description
描述

appendix
Link to the appendix page of a document
连接到文档的附录页

alternate
Link to an alternative source
连接到其它来源

bookmark
Link to a bookmark. Often used for "permalink" in web blogs
连接到书签。一些blog经常用到的。

chapter
Link to a chapter from the current documents
连接到当前文档的标题

contents
Link to the table of contents in the current document
连接到当前文档的表格内容

copyright
Link to copyright or policy page of the current document
连接到当前文档页著作权或政策部分

glossary
Link to glossary page of the document
连接到当前文档的词汇页

index
Link to the index page of the current document
连接到当前文档的索引页

next
Link to next page from the current document
连接到当前文档的下一页

prev
Link to the previous page from the current document
连接到当前文档的前一页

section
Link to a section in a list of documents
连接到文档清单列表

start
Link to the first page of the current documents. Used by search engines to show the first page
连接到当前文档的第一张页面。

subsection
Link to a sub-section in a list of current documents. ( Note that a section can have multiple sub-sections)
连接到当前文档的副清单列表。

附:

Alternate — 定义交替出现的链接
Stylesheet — 定义一个外部加载的样式表
Start — 通知搜索引擎,文档的开始
Next — 记录文档的下一页.(浏览器可以提前加载此页)
Prev — 记录文档的上一页.(定义浏览器的后退键)
Contents
Index — 当前文档的索引
Glossary — 词汇
Copyright — 当前文档的版权
Chapter — 当前文档的章节
Section — 作为文档的一部分
Subsection — 作为文档的一小部分
Appendix — 定义文档的附加信息
Help — 链接帮助信息
Bookmark — 书签

转载于:https://www.cnblogs.com/daiqian/archive/2007/08/26/870407.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值