最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

HTML DOM rel 屬性

定義和用法

The rel property sets or returns the relationship between the current document and the target URL.

The rel and rev properties work together. Those two properties are used by search engines to provide a linked navigation menu.

語法

linkObject.rel=relationship

The rel property can have one of the following values:

Value Description
appendix Link to the appendix page of the document
alternate Link to an alternative source of the document
bookmark Link to a bookmark
chapter Link to a chapter
contents Link to the table of contents of the document
copyright Link to copyright or the policy of the document
glossary Link to the glossary page of the document
index Link to the index page of the document
next Link to the next page
prev Link to the previous page
section Link to a section in a list of documents
start Link to the first page (used by search engines to show the first page)
stylesheet Link to the style sheet of the document.
subsection Link to a sub-section in a list of current documents

實(shí)例

The following example returns the relationship between the current document and the target URL:

<html>
<head>
<link rel="stylesheet" type="text/css" 
id="style1" href="try_dom_link.css" />
</head>
<body>

<script type="text/javascript">
x=document.getElementById("style1");
document.write("Relationship: " + x.rel);
</script>

</body>
</html>
花莲县| 绥中县| 朝阳县| 四会市| 定边县| 扶绥县| 宜宾县| 平度市| 阿拉善左旗| 双柏县| 渭南市| 许昌市| 盐源县| 新安县| 锡林浩特市| 义马市| 右玉县| 额尔古纳市| 榆社县| 东城区| 新巴尔虎左旗| 平凉市| 枝江市| 商都县| 长春市| 米林县| 郧西县| 罗甸县| 宁明县| 临安市| 汉寿县| 姜堰市| 金山区| 永善县| 长春市| 双峰县| 太湖县| 固阳县| 南充市| 东山县| 偃师市|