lehmann2 (AT) col (DOT) bsf.alcatel.fr (lehmann) wrote:
Quote:
Is it possible to make a short message appear when the mouse passes on
a text "input" tag |
Perhaps, but it is better that you don't know.
Quote:
(as it works with "alt" in images)? |
The alt attribute denotes alternate text. If your browser shows it when
the image _is_ shown, consider this a browser bug, or at least an oddity.
The title attribute is the correct way to suggest a "tooltip". But it's
better that you don't know about this, since then you realize that the
input element must be preceded by normal visible text - preferably using
the <label> element for specifying the association in markup. Consider
the title attribute (at most) as an optional extra. Example:
<label for="sname">Your surname:</label>
<input id="sname" type="text" name="surname" size="30" title=
"Your family name (last name)">
Even then, the title attribute might disturb rather than help. People who
know what they have been asked to type don't like any tooltips obscuring
the view.
--
Yucca,
http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring:
http://www.cs.tut.fi/~jkorpela/www.html