HTML အကိုးအကား

အက္ခရာဖြင့် HTML HTML အမျိုးအစားအလိုက် HTML Browser ပံ့ပိုးမှု HTML အရည်အချင်းများ HTML ကမ္ဘာလုံးဆိုင်ရာ အရည်အချင်းများ HTML ပွဲများ HTML အရောင်များ HTML Canvas HTML အသံ/ဗီဒီယို HTML အက္ခရာအစုံများ HTML Doctypes HTML URL ကုဒ် HTML ဘာသာစကားကုဒ်များ HTML နိုင်ငံကုဒ်များ HTTP မက်ဆေ့ခ်ျများ HTTP နည်းလမ်းများ PX မှ EM Converter ကီးဘုတ်ဖြတ်လမ်းများ


HTML <map> name Attribute

❮ HTML <map> တဂ်

ဥပမာ

နှိပ်နိုင်သောနေရာများပါရှိသော ရုပ်ပုံမြေပုံတစ်ခု၊

<img src="workplace.jpg" alt="Workplace" usemap="#workmap" width="400" height="379">

<map name="workmap">
  <area shape="rect" coords="34,44,270,350" alt="Computer" href="computer.htm">
  <area shape="rect" coords="290,172,333,250" alt="Phone" href="phone.htm">
  <area shape="circle" coords="337,300,44" alt="Cup of coffee" href="coffee.htm">
</map>

အဓိပ္ပါယ်နှင့် အသုံးပြုမှု

လိုအပ်သော nameattribute သည် ပုံမြေပုံတစ်ခု၏ အမည်ကို သတ်မှတ်သည်။

nameရည်ညွှန်းချက်သည် 's attribute နှင့် ဆက်စပ်နေပြီး ပုံ <img>နှင့် usemapမြေပုံကြား ဆက်ဆံရေးကို ဖန်တီးသည်။


Browser ပံ့ပိုးမှု

Attribute
name Yes Yes Yes Yes Yes

အထားအသို

<map name="mapname">

ရည်ညွှန်းတန်ဖိုးများ

Value Description
mapname The name of the image map

❮ HTML <map> တဂ်