最新国产好看的视频,伊人天堂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.

語(yǔ)法

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>
潜山县| 永登县| 合川市| 威远县| 东乌珠穆沁旗| 扎兰屯市| 绥滨县| 吴堡县| 竹北市| 炉霍县| 合肥市| 延津县| 社会| 平远县| 宁武县| 长垣县| 德惠市| 神农架林区| 固安县| 新巴尔虎右旗| 弋阳县| 郁南县| 禄丰县| 万州区| 马关县| 宁强县| 中宁县| 东安县| 宜春市| 深州市| 钦州市| 绩溪县| 岳普湖县| 连山| 香港| 嘉禾县| 宁津县| 新疆| 德化县| 昭觉县| 安平县|