HTML DOM အိုက်ပါ့ဘုတ် ပုံ အရာ

Input Image 对象

Input Image 对象是 HTML5 中的新对象。

Input Image 对象表示 HTML <image> 元素。

访问 Input Image 对象

getElementById() အမှုအသုံးပြုပြီး <image> အရာ ကို အကူအညီပေးသည်

var x = document.getElementById("myImage");

အကြိုးသတ်အချက်အလက် elements အဖွဲ့ အကူအညီပေးသည်

Input Image အကိုယ့် အချက်အလက်

document.createElement() အမှုအသုံးပြုပြီး <image> အရာကို ဖန်တီးနိုင်ပါ

အရေးသားရာအရာတစ်ခုကို အသုံးပြုသည်
var x = document.createElement("INPUT");

x.setAttribute("type", "image");

အချက်အလက် Input Image အကိုယ့် အချက်အလက်
ဖော်ပြ autocomplete
alt input image အချက်အလက်
autofocus input image ကို စားဖွယ်ဖွယ် အရာ
defaultValue input image အချက်အလက်
disabled input image အပိုင်းအခြားအရာ
form input image အဖွဲ့အဖွဲ့အဖွဲ့ အရာ
formAction input image အဖွဲ့မှူး အယူအယဲ အရာကို အသုံးပြုသည်
formEnctype input image အဖွဲ့မှူး အဘောင်သုံး အရာကို အသုံးပြုသည်
formMethod input image အဖွဲ့မှူး အဘောင်ပုံ အရာကို အသုံးပြုသည်
formNoValidate အချက်အလက် အဖွဲ့မှူး အရာကို အသုံးပြုသည်
formTarget input image အဖွဲ့မှူး အရာကို အသုံးပြုသည်
height input image အထူးအရာကို အသုံးပြုသည်
name input image အမည် အရာကို အသုံးပြုသည်
src input image အရင်းအမြစ် အရာကို အသုံးပြုသည်
type input image ပုံစံအပိုင်းအခြားအရာ
value အရေးသားရာအရာတစ်ခုကို အသုံးပြုသည်
width input image အမှုသင့် အကြီးအတန်း အားရီဒီ

အချက်အလက် နှင့် ဖြစ်ပေါ်

Input Image အမှုသင့် ကျမ်းများအချက်အလက်နှင့်ဖြစ်ပေါ်.

ပတ်သက်သော စား

HTML ပညာရှင်HTML ပုံစံ

HTML အမြင့်ပေါင်းချုပ်အားရီဒီHTML <input> အချက်အလက်

HTML အမြင့်ပေါင်းချုပ်အားရီဒီHTML <input> အမျိုးအစား အားရီဒီ