Bugzilla – Bug 16817What's the difference between input/@title's and input/@placeholder's semantic? Both of them act as the user's advisor and tell you what you can do with the element. "For a longer hint [...], the title attribute is more appropriate." is the only thing I cLast modified: 2012-10-06 00:44:10 UTC

Bug 16817
- What's the difference between input/@title's and input/@placeholder's semantic? Both of them act as the user's advisor and tell you what you can do with the element. "For a longer hint [...], the title attribute is more appropriate." is the only thing I c

Summary:What's the difference between input/@title's and input/@placeholder's semanti...

Specification:
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top
Comment:
What's the difference between input/@title's and input/@placeholder's
semantic? Both of them act as the user's advisor and tell you what you can do
with the element. "For a longer hint [...], the title attribute is more
appropriate." is the only thing I could read about.
If there's (another) difference, it would be fine to describe it. If
@placeholder is just physical markup (that's what the attribute's confusing
name denotes), then I think it would be better to present @title like a
placeholder using stylesheets instead of specifing a new attribute called
@placeholder.
Posted from: 178.191.160.147
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.140 Safari/535.19 Comodo_Dragon/18.0.3.0