|
Posted by cwdjrxyz on 05/31/07 17:48
On May 31, 11:36 am, Lsimmons5 <i...@lookit-up.com> wrote:
> Hi,
> I don't know how to correct the following html validation error:
> Line 254, column 12: required attribute "ALT" not specified .
> width="180"></a></td>
>
> The actual html from the page is as follows:
> href="links.html"><img src="LINKS.gif" border="0" height="23"
> width="180"></a></td>
>
> Is it possible for anyone to correct the above html because I don't
> understand it?
>
> Many thanks
I agree that it will help if you study "alt" in detail. Within your
img tag you might have alt="big black dog" if your image is a picture
of a black dog. The text alt is required for valid W3C html because
some may have images turned off or not be able to see them for any
reason. Some turn off images to speed up viewing pages on slow
connections. In that case, the alt text appears instead of the image,
and if the alt text is of interest, the viewer may turn the image on.
There are still a very few devices that are text only. Also, some
devices for the blind can speak the alt text so the blind person will
know the nature of the image.
[Back to original message]
|