Form field hints with pure CSS and JavaScript

Example 6: Final Example

Download the zip that contains all images , js, and CSS.

Tab or click mouse over through the fields to reveal the hints. Only Username and Password All inputs and select show hints in this example.

This is the name your mom calls you
This is the name the sergeant calls you
Here I would like to know the address — with an [AT] and a [DOT] — you use for receive your "very wellcome" spams
Choose one in order to let me know how old are you.
Username? I am sure you know what this is.
How many passwords do you have? Do you remember the one for this site?
Hey, are you sure! By cliking this button you will send me all your secrets.