HTML <input> src Attribute
ဥပမာ
တင်သွင်းရန်ခလုတ်ကို ကိုယ်စားပြုသည့် ပုံပါရှိသော HTML ဖောင်ပုံစံ
<form action="/action_page.php">
<label for="fname">First name:</label>
<input type="text" id="fname"
name="fname"><br><br>
<input type="image" src="submit.gif"
alt="Submit" width="48" height="48">
</form>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
src
ရည်ညွှန်းချက်သည် ပေးပို့ရန်ခလုတ်အဖြစ် အသုံးပြုရန် ပုံ၏ URL ကို သတ်မှတ်ပေးသည် ။
မှတ်ချက်- ရည်ညွှန်းချက်အား ( ၎င်း src
အတွက် လိုအပ်သည်) ဖြင့်သာ အသုံးပြုနိုင်သည် <input type="image">
။
Browser ပံ့ပိုးမှု
ဇယားရှိ နံပါတ်များသည် attribute ကို အပြည့်အဝထောက်ခံသည့် ပထမဆုံးဘရောက်ဆာဗားရှင်းကို သတ်မှတ်ပေးပါသည်။
Attribute | |||||
---|---|---|---|---|---|
src | Yes | Yes | Yes | Yes | Yes |
အထားအသို
<input src="URL">
ရည်ညွှန်းတန်ဖိုးများ
Value | Description |
---|---|
URL | Specifies the URL of the image to use as a submit button. Possible values:
|
❮ HTML <input> tag