I narrowed it down to the 2 choices below. Not sure if it's A or D though. Help please?
A Pop-up text which describes an image
or
D Captions under images which describe the image
Four answers:
2010-11-24 13:47:09 UTC
IE has ALWAYS gotten the mouseover popup tooltip action WRONG! All other browsers do nothing when using the alt="" attribute. Only the title="" attribute should provide the tooltip on mouseover.
Technically, both answers are wrong. The alt does not describe the image anyway. It is just a placeholder used if browser does not find an image to show and for those text editors used by the visually impaired. It would be nice if the image description was given, but you should use the longdisc="" attribute.
Ron
Mike c
2010-11-24 16:36:40 UTC
A seems right. Alt tags are what is displayed in place of an image should an image on a website fail to render(appear). It also appears as a mouse over pop up when you place you pointer over the image. These tags are critical for SEO (search engine optimization) as they should contain keywords that search bots can see and use to further help the bots understand, index and rank your site. They are also critical for accessibility for people who can't see the image due to physical handicaps or the use of a device or system that does not display web images, like certain cell phones and other limited portable devices used to browse the internet. Alt tags can be used with the speech software in Windows in that Windows can read out loud what your tags says. Obviously your tag needs to describe the images that was intended to be seen as well as be relevant to the site topic. It is a difficult balance to reach sometimes as tags are traditionally short.
Nik
2010-11-24 17:28:49 UTC
My answer is neither because
A only works in internet explorer and not fire fox if you want it to pop over on mouse over you use the title attribute. e.g. title="my image"
D is also false as an alt attribute doesn't appear under images it appears in place of them if the image can not be found so the answers supplied are both incorrect.
An alt attribute is defined as follows.
An alt attribute is placed within an image to appear if the browser cannot find the image and will not appear if the browser can find the image.
2010-11-24 16:48:18 UTC
First of all 'alt' is not a tag... it is an attribute of 'img' tag. It gets displayed if the image source given in the 'src' attribute does not exist.
ⓘ
This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.