HTML <base> href Attribute
ဥပမာ
စာမျက်နှာတစ်ခုပေါ်ရှိ ဆက်စပ် URL များအားလုံးအတွက် အခြေခံ URL ကို သတ်မှတ်ပါ-
<head>
<base href="https://www.w3schools.com/images/">
</head>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
href
ရည်ညွှန်းချက်သည် စာမျက်နှာတစ်ခုပေါ်ရှိ ဆက်စပ် URL များအားလုံးအတွက် အခြေခံ URL ကို သတ်မှတ်သည် ။
Browser ပံ့ပိုးမှု
Attribute | |||||
---|---|---|---|---|---|
href | Yes | Yes | Yes | Yes | Yes |
အထားအသို
<base href="URL">
ရည်ညွှန်းတန်ဖိုးများ
Value | Description |
---|---|
URL | An absolute URL that acts as the base URL (like "http://www.example.com/") |
❮ HTML <base> tag