HTML <area> alt Özelliği

❮ HTML <area> etiketi

Örnek

Resim haritasındaki her alan için alternatif bir metin belirtmek üzere alt niteliğini kullanın:

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

Tanım ve Kullanım

Nitelik alt, resim görüntülenemiyorsa, bir alan için alternatif bir metin belirtir.

Öznitelik , altbir kullanıcı herhangi bir nedenle görüntüleyemiyorsa (yavaş bağlantı, src özniteliğinde bir hata veya kullanıcı bir ekran okuyucu kullanıyorsa) bir resim için alternatif bilgiler sağlar.

Öznitelik varsa , öznitelik altgereklidir href.


Tarayıcı Desteği

Attribute
alt Yes Yes Yes Yes Yes

Sözdizimi

<area alt="text">

Özellik Değerleri

Value Description
text Specifies the alternate text for the area, if the image cannot be displayed

❮ HTML <area> etiketi