Friday, 7 March 2008

Difference between alt attribute and title attribute

The alt attribute of a tag should be used to fulfil the same function as an image. It should be used to describe images and form buttons.

For more information see the w3 alt attribute detail.

The title attribute of a tag should be used to describe a link or anchor tag.

Using alt and title attributes appropriately is an important element in designing a search engine friendly website.

Labels: