[whatwg] Please consider adding a couple more datetime <input> types - type="year" and type="month-day"

Tantek Çelik tantek at cs.stanford.edu
Sun Aug 8 16:20:22 PDT 2010

Summary: the 6 new datetime <input> types are quite useful for a
variety of use-cases but could use 2 more that fit in with the current

In addition to current new absolute types of "date", "week", "month",
it makes sense to add type="year" as well for choosing a year value.

And in addition to the current new relative type of "time", it makes
sense to add type="month-day" as well (for a inputting a month and a
day without a year, e.g. for a birthday without birth year, or for
entering custom annual holidays).

More details, use-cases, research here:


I encourage fellow web authors and browser implementers to add their
opinions/comments to that wiki page section.



http://tantek.com/ - I made an HTML5 tutorial! http://tantek.com/html5

More information about the whatwg mailing list