[HTML] [tag] <area>

<area> (tag HTML) definisce, nidificato in un tag HTML <map> (suo padre necessario), un’area attiva (link ed eventi) all’interno di un’immagine (image-map). E’ possibile generare tali coordinate tramite GIMP (cfr. la guida).

attributi

speciali

Caricamento…

Caricamento…

Caricamento…

Caricamento…

Caricamento…

Caricamento…

Caricamento…

Caricamento…

Caricamento…

Caricamento…

globali
Caricamento…

scheda tecnica

– Contenuto: flusso, fraseggio.
– Tipo: inline
– Intefraccia DOM: HTMLAreaElement
– Supporto browser: totale

Tips & Tricks

Le regole di stile CSS non hanno effetto sul tag HTML in parola (in arg. cfr. questa pagina).

Sintassi

<map>
  <area [attributi] >
</map>

Default CSS

area {
  display: none;
}

Esempio

<figure>
<img src="/media/logo4.png" width="320" height="425" border="0" usemap="#map" />
  <figcaption><small>Clic sull'occhio destro e mouse sulla bocca</small></figcaption>
</figure>
<map name="map">
<area shape="rect" coords="52,134,105,164" href="http://it.wikipedia.org/wiki/Occhio" target="_blank"/>
<area shape="rect" coords="76,201,152,226" onmouseover="alert('Hai soffermato il mouse sulla bocca')" nohref="nohref" />
</map>

Contenuti correlati

  • CSS
  • HTML
  • JavaScript
  • jQuery
  • PHP
  • SQL
  • WORDPRESS

Fonti esterne

html, tag html

Related Articles

0 Comment

Rispondi