Description: Provide
helpful hints alongside certain form fields to guide your users on how to
fill them out with this elegant script. A hint pops up only when the field is
question has the user focus.

Example: Notice
how today's date is selected by default.

Tab or click through the fields to reveal the hints. Only Username and Password show hints in this example!

First Name:

Last Name:

Birth Year:

Username:

Between 4-12 characters.

Password:

Between 5-13 characters, but not 7. Never 7.

Directions

Step 1: Insert the
following script into the <HEAD> section of your page:

Step 2: Add the below
sample form into the <BODY> section:

Step 3: This script uses
an image as part of the Hints interface.. Download it below (and upload to same
directory as webpage by default):

(right click, and select
"Save As").

Also, due to the use of CSS to render the Hints style, your
webpage should contain a
valid doctype at
the very top in order for it to look correctly in IE browsers. An example
doctype declaration you can add to the very top of your webpage source is: