Link Example
Example
Read more on W3 Web site aboutaltattribute- Any time an
imgorareaelement is used to create a link, thealtattribute content should not describe the image but instead describe the target of the link. This text can be used by screen readers or rendered instead of the image by some graphical browsers to improve access to screen reader users and people with visual impairments.
HTML Code
<dl>
<dt><code><a href="http://www.w3.org/TR/html4/struct/global.html#adef-alt"><span style="position: absolute; top: -20em; left: -200em">Read more on W3 Web site about</span>alt</a></code> attribute</dt>
<dd>Any time an <code>img</code> or <code>area</code> element is used to create a link, the <code>alt</code> attribute content should not describe the image but instead describe the target of the link. This text can be used by screen readers or rendered instead of the image by some graphical browsers to improve access to screen reader users and people with visual impairments.</dd>
</dl>
<dt><code><a href="http://www.w3.org/TR/html4/struct/global.html#adef-alt"><span style="position: absolute; top: -20em; left: -200em">Read more on W3 Web site about</span>alt</a></code> attribute</dt>
<dd>Any time an <code>img</code> or <code>area</code> element is used to create a link, the <code>alt</code> attribute content should not describe the image but instead describe the target of the link. This text can be used by screen readers or rendered instead of the image by some graphical browsers to improve access to screen reader users and people with visual impairments.</dd>
</dl>
