लिंक रिले संपत्ति
उदाहरण
वर्तमान दस्तावेज़ और लिंक किए गए दस्तावेज़ के बीच संबंध लौटाएँ:
var x = document.getElementById("myLink").rel;
परिभाषा और उपयोग
rel प्रॉपर्टी एक स्पेस से अलग की गई सूची को सेट या लौटाती है जो वर्तमान दस्तावेज़ और लिंक किए गए दस्तावेज़ के बीच संबंध को परिभाषित करती है।
ब्राउज़र समर्थन
Property | |||||
---|---|---|---|---|---|
rel | Yes | Yes | Yes | Yes | Yes |
वाक्य - विन्यास
रिले संपत्ति वापस करें:
linkObject.rel
रिले प्रॉपर्टी सेट करें:
linkObject.rel = relationship
सम्पत्ति की कीमत
Value | Description |
---|---|
alternate | Linked page is an alternative version of the current document |
appendix | Linked page is the appendix page for the current document |
chapter | Refers to a chapter |
contents | Linked page is the table of contents for the current document |
copyright | Linked page is the copyright/policy for the current document |
glossary | Linked page is the glossary page for the current document |
help | Linked page is the help page for the current document |
icon | Refers to an icon location |
index | Linked page is the index page for the current document |
next | Refers to the next page |
offline | Refers to a location that contains a path to the CDF file |
prev | Refers to the previous page |
search | Refers to an XML file in OpenSearch description format |
section | Link to a section in a list of documents |
sidebar | Refers to the bookmark panel |
start | Refers to the first page (used by search engines to show the first page) |
stylesheet | Linked page is the style sheet for the current document |
subsection | Linked page is a subsection for the current document |
टेक्निकल डिटेल
प्रतिलाभ की मात्रा: | एक स्ट्रिंग, संबंध प्रकारों की अंतरिक्ष से अलग की गई सूची का प्रतिनिधित्व करती है |
---|
संबंधित पृष्ठ
एचटीएमएल संदर्भ: एचटीएमएल <लिंक> रिले विशेषता
लिंक वस्तु