Is is a common practice to do that ? Or should I put informations linked to this input next to it ?

For example: <input type="text" title="You first, not your last name !" placeholder="Name"/>

JsFiddle: http://jsfiddle.net/xcGx9/

  • Why to you post a complete external link to display a single line of code?
    – André
    Commented Mar 8, 2013 at 13:28
  • @André So that you can see what it looks like. I think the end result is more important than the code here. Commented Mar 8, 2013 at 14:01

1 Answer 1


It's not a common practice, but I think it's not that bad, because in the title, which appears as a tooltip, you give additional information for the user once he enters the field using mouse pointer.

However, I think a better choice would be giving a field a label and use placeholder for descriptive text, so that it looks like:

Name: [ You first, not your last name ]

This way:

  • user won't loose the purpose of the field while being inside the field
  • it will work on touch devices the same way
  • it will not depend on using the mouse pointer

Not the answer you're looking for? Browse other questions tagged or ask your own question.