This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17937 - 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...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 07:20 UTC by contributor
Modified: 2012-09-17 05:16 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2012-07-18 07:20:08 UTC
This was was cloned from bug 16817 as part of operation convergence.
Originally filed: 2012-04-22 19:09:00 +0000

================================================================================
 #0   contributor@whatwg.org                          2012-04-22 19:09:43 +0000 
--------------------------------------------------------------------------------
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
================================================================================
Comment 1 contributor 2012-09-17 05:16:04 UTC
Checked in as WHATWG revision r7363.
Check-in comment: Try to clarify placeholder='s role in life.
http://html5.org/tools/web-apps-tracker?from=7362&to=7363