HTML atrybut Obszar href
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>
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>
Spróbuj »
Pomoc Browser
Wszystkie główne przeglądarki obsługują atrybut href.
Definicja i Wykorzystanie
Docelowa powierzchnia połączona atrybut href określa.
Jeśli nie ma atrybutu href <area> tag nie jest link.
Różnice między HTML 4.01 i HTML5
W HTML5 <area> tag atrybut href nie jest już używany, używanie zastępczego określić linki.
gramatyka
<area href="URL">
Wartość nieruchomości
值 | 描述 |
---|---|
URL | 链接的 URL。可能的值:
|