HTML <area> ပုံသဏ္ဍာန် Attribute
ဥပမာ
ပုံမြေပုံရှိ ဧရိယာတစ်ခုစီ၏ ပုံသဏ္ဍာန်ကို သတ်မှတ်ရန် ပုံသဏ္ဍာန်ရည်ညွှန်းချက်ကို အသုံးပြုပါ။
<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>
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
ရည်ညွှန်းချက်သည် ဧရိယာ ၏ shape
ပုံသဏ္ဍာန်ကို သတ်မှတ်သည်။
ဧရိယာ တစ်ခု၏ အရွယ်အစား၊ ပုံသဏ္ဍာန်နှင့် နေရာချထားမှုတို့ကို သတ်မှတ်ရန် attribute ကို attribute shape
နှင့် တွဲသုံး ပါသည်။coords
Browser ပံ့ပိုးမှု
Attribute | |||||
---|---|---|---|---|---|
shape | Yes | Yes | Yes | Yes | Yes |
အထားအသို
<area shape="default|rect|circle|poly">
ရည်ညွှန်းတန်ဖိုးများ
Value | Description |
---|---|
default | Specifies the entire region |
rect | Defines a rectangular region |
circle | Defines a circular region |
poly | Defines a polygonal region |
❮ HTML <area> တဂ်