HTML <base> ပစ်မှတ် Attribute
ဥပမာ
စာမျက်နှာတစ်ခုပေါ်ရှိ ဟိုက်ပါလင့်ခ်များနှင့် ဖောင်များအားလုံးအတွက် မူရင်းပစ်မှတ်ကို သတ်မှတ်ပါ-
<head>
<base target="_blank">
</head>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ရည်ညွှန်းချက်သည် စာမျက်နှာရှိ ဟိုက် target
ပါလင့်ခ်များနှင့် ဖောင်များအားလုံးအတွက် မူရင်းပစ်မှတ်ကို သတ်မှတ်သည်။
target
ဟိုက်ပါလင့်ခ်/ဖောင်တစ်ခုစီအတွက် ရည်ညွှန်း ချက်ကို အသုံးပြုခြင်းဖြင့် ဤ attribute ကို လွှမ်းမိုးနိုင်သည် ။
Browser ပံ့ပိုးမှု
Attribute | |||||
---|---|---|---|---|---|
target | Yes | Yes | Yes | Yes | Yes |
အထားအသို
<base target="_blank|_self|_parent|_top">
ရည်ညွှန်းတန်ဖိုးများ
Value | Description |
---|---|
_blank | Opens the link in a new window or tab |
_self | Default. Opens the link in the same frame as it was clicked |
_parent | Opens the link in the parent frame |
_top | Opens the link in the full body of the window |
❮ HTML <base> tag