Quote:
|
Originally Posted by ewc21
To clear things up: Page title is the title tag <title>; title attribute is the attribute of <img> tag.
|
I would add that attributes and tags are two different things.
Attributes
complete a tag. In
Code:
<a href="page.htm" target="_blank">link</a>
a is the tag (precisely
<a></a>), and
href and
target are attributes. Values are givent to these attributes (depending on the attribute, it can be a number, some text, a url, etc.)
An image tag can be:
Code:
<img src="image.png" alt="alternate text" title="title of the image" />
the
alt attribute and the
title attributes have different uses. The
alt attribute should be shown
instead of the image when the image is not available (and only when the image is not available - this is the case in text-only browsers for example), while the
title attribute should be shown in the litte box that appears on the image when hovered with the pointer.
Internet Explorer does not use them properly (IE uses the
atl attribute for both uses). Firefox does use these attributes properly (the
alt will only be visible if the image is not available).
Now, in terms of SEO, I just did a test with the
title attribute of an image. JohnScott is right; the content of the
title attribute is not taken into account by any search engine.
Yahoo does not take the
alt into account either. Google and MSN do.