Najnowsze tutoriale tworzenie stron internetowych
 

HTML <area> type Attribute

<HTML <area> tag

Przykład

type atrybut określa typ nośnika docelowego adresu URL:

<img src="planets.gif" width="145" height="126" alt="Planets" usemap="#planetmap">

<map name="planetmap">
  <area shape="rect" coords="0,0,82,126" alt="Sun"
href="/images/sun.gif" type="image/gif">
</map>
Spróbuj sam "

Definicja i Wykorzystanie

type atrybut określa typ mediów internetowych (dawniej znany jako typ MIME) adresu URL docelowej.

Ten atrybut jest używany tylko wtedy, gdy href atrybut jest ustawiony.

Uwaga: Ten atrybut jest czysto doradcza.


Pomoc Browser

Atrybut
type Yes Yes Yes Yes Yes

Różnice między HTML 4.01 i HTML5

type atrybut jest nowa dla <area> tagu w HTML5.


Składnia

<area type="media_type">

wartości atrybutów

Wartość Opis
media_type Typ nośnika internetowa połączonego dokumentu.
Spójrz na typy IANA Mediów Pełną listę standardowych typów nośników.

<HTML <area> tag