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

實例

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>
眉山市| 冕宁县| 仪陇县| 隆子县| 信宜市| 扶绥县| 宕昌县| 连城县| 中宁县| 沙洋县| 曲沃县| 鹿邑县| 耒阳市| 平塘县| 黎平县| 辽宁省| 永州市| 察雅县| 古浪县| 临城县| 左云县| 望奎县| 安吉县| 天长市| 通化市| 安泽县| 库伦旗| 兴和县| 鲜城| 个旧市| 九寨沟县| 巍山| 高雄市| 中江县| 永嘉县| 隆尧县| 南阳市| 太湖县| 迭部县| 抚松县| 文登市|