Forum Moderators: open

Message Too Old, No Replies

Providing Names

alt tag

         

fashezee

7:32 pm on Oct 13, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is it necessary to name and provide an alt value to all the
images on your web page; even though the image in question is
more of a background element.

Is leaving the name and alt attributes of the img tag a "ne faux pas"
with regards to the SEs? are they still deducting points for this?

martinibuster

7:46 pm on Oct 13, 2002 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



Use alt="" for images that are spacers or decoration. This aids people who are using browser readers who come across you web site (sight impaired surfers) as well as helps your site to validate.

As for points, I don't know anything about this, but anything that helps the spiders crawl through your site is good.

Anything that can confuse them (bad html), may cause them to record your html as text, or stop crawling altogether. I've seen badly coded sites that are only half crawled and partly indexed, and I attributed this to their badly coded html.

It's a pain sometimes to make it validate. I gotta do a little work on my own site...

ShyGuy

7:52 pm on Oct 13, 2002 (gmt 0)



I don't think it's a big problem with regards to the search engines, but the newer w3 html standards require alt tags.

On a side note, I created a web page that used small gifs as bullets. In the alt text I put "decorative bullet" After a while I began to notice in my logs that people with bullet as a word in their google searches were coming to my page. So I decided to replace the "decorative bullet" alt text with relevant keywords instead.

starway

9:31 am on Oct 14, 2002 (gmt 0)

10+ Year Member



Alt tags are processed by search engines, and this element is one of the important ones like <H_> tags.

fathom

11:03 am on Oct 14, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Alt tags are processed by search engines, and this element is one of the important ones like <H_> tags.

An Alt Tag is an attribute not an element. Although they are still valid there is generally little weight in association.

Title attribute may be a better choice... and it is a valid element attribute >> title="".

title attributes can also be used to define links, objects, tables, rows, cells, etc., or basically anything that has dimension.

If image is also a link use title="" in link and alt="" in the image. In this context the alt="" will display on mouseover by default.

creative craig

11:10 am on Oct 14, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I have just begun to use to use the Titel tag as a description method for most things on a page. Is this a preferred method?

starway

2:33 pm on Oct 14, 2002 (gmt 0)

10+ Year Member



No need to carp at the words, fathom. The same way I can point you to this:
An Alt Tag is an attribute not an element.
ALT is not a tag :)

creative_craig,
there's no a a preferred method: ALT and TITLE are designed for different purposes. The fist one is for alternative text that should be displayed when image is not loaded (or graphics is turned off, or for text browsers), the second one is for displaying hint messages (or whatever you call them) when you point your cursor over them.

You see ALTs being displayed as "hints" in NN4 and all IE versions (on Windows only!), but it's not the way it should be according standards.
Also, TITLE attribute is applicable to almost any page element: block-level elements, links, even different form elements.

fathom

3:01 pm on Oct 14, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Good point >> ALT is not a tag

We should always attempt to use proper terminology.

Slang can get people in trouble if they "think they understand, but don't".

lorax

3:42 pm on Oct 14, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



We should always attempt to use proper terminology.

IMHO, this is so true. In our business, details matter.

shelleycat

7:43 am on Oct 28, 2002 (gmt 0)

10+ Year Member



On a side note, I created a web page that used small gifs as bullets. In the alt text I put "decorative bullet" After a while I began to notice in my logs that people with bullet as a word in their google searches were coming to my page. So I decided to replace the "decorative bullet" alt text with relevant keywords instead.

Someone with a text browser or with images turned off will then see all those words in place of the small, tidy bullet. I'm occasionally forced to surf without images (slow connection) and a long alt tag in place of a small bullet can make the bulleted list unreadable. It's even worse for someone with a browser such as JAWS (ie one which reads the page out loud) as they will have to listen to either 'decorative bullet' or whatever else you have there spoken out loud before every list item.

From a usability view point it's better to use a replacement for the bullet point, i.e. something like * or that little ascii dot. Then, while not everyone will see the decorative version, everyone will be able to access the information contained in the list. I can see how the extra keywords words may bring more traffic, so I guess it depends on what kind of audience your site attracts.

dingman

9:14 pm on Oct 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Mightn't it work just as well to put relevant keywords in the title attribute, and leave the alt attribute as some character that serves the purpose of a bullet for text browsers? I don't know much about SEO, so maybe they don't parse titles of images, but it seems more appropriate to me, in this case, to stick keywords relavant to the associated text in a title for the bullet than in the content to be presented if your browser doesn't do images.