HTML <input> alt Attribute
ဥပမာ
တင်သွင်းရန်ခလုတ်ကို ကိုယ်စားပြုသည့် ပုံပါရှိသော HTML ဖောင်ပုံစံ
<form action="/action_page.php">
<label for="fname">First name:</label>
<input type="text" id="fname"
name="fname">
<input type="image" src="submit.gif" alt="Submit" width="48" height="48">
</form>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
အကြောင်းတစ်ခုခုကြောင့် ပုံ alt
အား မကြည့်နိုင်လျှင် (ချိတ်ဆက်မှုနှေးကွေးခြင်း၊ src attribute တွင် အမှားအယွင်းတစ်ခု၊ သို့မဟုတ် အသုံးပြုသူသည် စခရင်ဖတ်ကိရိယာကို အသုံးပြုပါက) attribute သည် အသုံးပြုသူအတွက် အလှည့်ကျစာသားတစ်ခုကို ပေးပါသည်။
မှတ်ချက်- ရည်ညွှန်း alt
ချက်နှင့်သာ အသုံးပြုနိုင်သည်
<input type="image">
။
Browser ပံ့ပိုးမှု
Attribute | |||||
---|---|---|---|---|---|
alt | Yes | Yes | Yes | Yes | Yes |
အထားအသို
<input alt="text">
ရည်ညွှန်းတန်ဖိုးများ
Value | Description |
---|---|
text | Specifies an alternate text for the image |
❮ HTML <input> tag