<input type="week">Limited availability
The <input type="week"> HTML element shows a week picker.
Not yet supported in all major browsers — check the table and provide a fallback.
Browser support
DesktopChrome
1–19Not supported
20+Supportedsince Jun 26, 2012
Current: 155Edge
12+Supportedsince Jul 29, 2015
Current: 154Firefox
✕Not supportedup to 157
Current: 157Safari
✕Not supportedup to 27
Current: 27MobileChrome Android
18–18Not supported
25+Supportedsince Feb 27, 2013
Current: 155Firefox Android
4–17Not supported
18+Supportedsince Jan 8, 2013
Current: 157Safari iOS
1–18.1Not supported
18.2+Supportedsince Dec 11, 2024
Current: 27How to use
Not supported in Firefox, Safari. Use feature detection below and provide a fallback (or a polyfill) for those browsers.
Example
Full syntax and examples are on MDN: week.
Feature detection
JS · check before using
if ("type_week" in document.createElement("input")) {
// the type_week attribute/property of <input> is supported
}