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 <area> Tag


ဥပမာ

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

<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>

အောက်တွင် နောက်ထပ် "စမ်းသုံးကြည့်ပါ" ဥပမာများ။


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

Tag သည် ပုံမြေပုံတစ်ခုအတွင်း ဧရိယာတစ်ခုကို သတ်မှတ်သည် ( <area>ပုံမြေပုံသည် နှိပ်နိုင်သောနေရာများပါရှိသော ပုံတစ်ခုဖြစ်သည်)။

<area><map>ဒြပ်စင်များသည် tag တစ်ခုအတွင်း အမြဲတမ်း အစုအဝေး ဖြစ်သည်။

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


Browser ပံ့ပိုးမှု

Element
<area> Yes Yes Yes Yes Yes


ဂုဏ်တော်

Attribute Value Description
alt text Specifies an alternate text for the area. Required if the href attribute is present
coords coordinates Specifies the coordinates of the area
download filename Specifies that the target will be downloaded when a user clicks on the hyperlink
href URL Specifies the hyperlink target for the area
hreflang language_code Specifies the language of the target URL
media media query Specifies what media/device the target URL is optimized for
referrerpolicy no-referrer
no-referrer-when-downgrade
origin
origin-when-cross-origin
same-origin
strict-origin-when-cross-origin
unsafe-url
Specifies which referrer information to send with the link
rel alternate
author
bookmark
help
license
next
nofollow
noreferrer
prefetch
prev
search
tag
Specifies the relationship between the current document and the target URL
shape default
rect
circle
poly
Specifies the shape of the area
target _blank
_parent
_self
_top
framename
Specifies where to open the target URL
type media_type Specifies the media type of the target URL

ကမ္ဘာလုံးဆိုင်ရာ အရည်အချင်းများ

<area>tag သည် HTML တွင် Global Attributes ကို ပံ့ပိုး ပေးပါသည်။


ဖြစ်ရပ်ဂုဏ်တော်များ

<area>tag သည် HTML ရှိ Event Attributes များကိုလည်း ပံ့ပိုး ပေးပါသည်


နောက်ထပ် ဥပမာများ

ဥပမာ

နှိပ်နိုင်သော ဧရိယာများပါရှိသော အခြားရုပ်ပုံမြေပုံ။

<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>

ဆက်စပ်စာမျက်နှာများ

HTML DOM ရည်ညွှန်း- ဧရိယာအရာဝတ္တု


မူရင်း CSS ဆက်တင်များ

ဘရောက်ဆာအများစုသည် <area>အောက်ဖော်ပြပါ ပုံသေတန်ဖိုးများဖြင့် အစိတ်အပိုင်းကို ပြသလိမ့်မည်-

area {
  display: none;
}