Labeling Elements in a Web PageYou can use the title attribute to add a tool tip label to practically every part of your Web site. It's particularly helpful for giving your visitors clues about what's needed in form elements, but you can use it to label just about anything. To label elements in a Web page: In the (X)HTML tag for the item you want to label, add title="label", where label is the text that should appear in the tool tip when a visitor points at the element. Figure 3.25. You can add a title to any element you wish.
Figure 3.26. When your visitors point at the labeled element, the title will appear.
Tip
|