Make your own free website on Tripod.com

The Title Attribute

Introduction
The title attribute is for when you want to provide someone with just a little more information.

How You Use It
The title attribute works just like the alt attribute with images, except the title attribute can be applied to nearly anything.

The title attribute provides information about an element that will appear when a viewer hovers over the element with the mouse.

For example, typeing this:

<span title="HI! I'm more information">Hover over this text</span>

Will make this:

Hover over this text

You can apply the title attribute to pretty much anything. It could be used to provide more information about a link, or it could be used to provide more information about a table.

See the HTML Quick Reference for a complete list of different tags that accept the title attribute.

Main?