HighDots Forums  

alt in text input

alt.html.tags alt.html.tags


Discuss alt in text input in the alt.html.tags forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
lehmann
 
Posts: n/a

Default alt in text input - 06-04-2004 , 03:09 AM






Hello,
Is it possible to make a short message appear when the mouse passes on
a text "input" tag (as it works with "alt" in images)?
thks for any suggestion
G

Reply With Quote
  #2  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: alt in text input - 06-04-2004 , 08:49 AM






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




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.