HTML WEB DESIGN

 

separator-blank.png

 

GUIDE – TOOL TIPS

 

TOOL TIPS

 

  • You can use the attribute title inside most tags to create a tool tip that appears when the mouse hovers over that element.

    For example:

    <p title="This is a paragraph">

    or

 

<h2 title="My header!">

  • Add a few title attributes in your code and test your HTML document to see if the tool tips appear as expected.

 

ABBREVIATIONS

 

·       A common practice is to use the <abbr> along with the title attribute for abbreviations.  This makes a tool tip appear containing the full expansion of the abbreviation.

For example:

<abbr title="Lockerby Composite School">LCS</abbr>

 

·       Add your own abbreviation with tool tip to your site.