HTML atrybut nazwa mapy
Przykłady
Z klikalne obszaru obrazu mapy:
<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>
<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>
Spróbuj »
Pomoc Browser
Wszystkie główne przeglądarki obsługują atrybut name.
Definicja i Wykorzystanie
Nazwa atrybutu jest wymagana, należy podać nazwę mapy obrazu.
Usemap atrybutem nazwę związaną z atrybutem <img> tagu połączonego stworzyć związek między obrazem i mapowania.
Różnice między HTML 4.01 i HTML5
Nic.
gramatyka
<map name="mapname">
Wartość nieruchomości
值 | 描述 |
---|---|
mapname | 图像映射的名称。 |
HTML <map> tag