HTML ပုံသဏ္ဍာန် Attribute
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ရည်ညွှန်းချက်သည် ဧရိယာ ၏ shape
ပုံသဏ္ဍာန်ကို သတ်မှတ်သည်။
ဧရိယာ တစ်ခု၏ အရွယ်အစား၊ ပုံသဏ္ဍာန်နှင့် နေရာချထားမှုတို့ကို သတ်မှတ်ရန် attribute ကို attribute shape
နှင့် တွဲသုံး ပါသည်။
coords
တွေပေါ့။
ရည်ညွှန်းချက်ကို အောက်ပါ shape
ဒြပ်စင်ပေါ်တွင် အသုံးပြုနိုင်သည်။
ဒြပ် | ဂုဏ်ရည် |
---|---|
<ဧရိယာ> | ပုံသဏ္ဍာန် |
ဥပမာ
နှိပ်နိုင်သောနေရာများပါရှိသော ရုပ်ပုံမြေပုံတစ်ခု၊
<img src ="planets.gif"
width="145" height="126"
alt="Planets"
usemap="#planetmap">
<map
name="planetmap">
<area shape="rect" coords="0,0,82,126" href="sun.htm" alt="Sun">
<area shape="circle" coords="90,58,3" href="mercur.htm" alt="Mercury">
<area shape="circle" coords="124,58,8" href="venus.htm" alt="Venus">
</map>
Browser ပံ့ပိုးမှု
Attribute | |||||
---|---|---|---|---|---|
shape | Yes | Yes | Yes | Yes | Yes |