rel Property ကို ချိတ်ဆက်ပါ ။
ဥပမာ
လက်ရှိစာရွက်စာတမ်းနှင့် ချိတ်ဆက်ထားသောစာရွက်စာတမ်းကြား ဆက်စပ်မှုကို ပြန်ပေးပါ။
var x = document.getElementById("myLink").rel;
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
rel ပိုင်ဆိုင်မှုသည် လက်ရှိစာရွက်စာတမ်းနှင့် ချိတ်ဆက်ထားသောစာရွက်စာတမ်းအကြား ဆက်နွယ်မှုကို သတ်မှတ်ပေးသည့် space-separed list တစ်ခုကို သတ်မှတ် သို့မဟုတ် ပြန်ပေးသည်။
Browser ပံ့ပိုးမှု
Property | |||||
---|---|---|---|---|---|
rel | Yes | Yes | Yes | Yes | Yes |
အထားအသို
rel ပိုင်ဆိုင်မှုကို ပြန်ပေးပါ-
linkObject.rel
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 |
နည်းပညာဆိုင်ရာအသေးစိတ်
ပြန်ပို့တန်ဖိုး- | ပေါင်းသင်းဆက်ဆံရေး အမျိုးအစားများစာရင်းကို နေရာလွတ် ခြားထားသော စာရင်းကို ကိုယ်စားပြုသည့် စာတန်း |
---|
ဆက်စပ်စာမျက်နှာများ
HTML ရည်ညွှန်းချက်- HTML <link> rel ရည်ညွှန်းချက်
❮ Object ကို ချိတ်ဆက်ပါ။