HTML: input type="week"

The week input collects a calendar year and week, which is useful for schedules or reports organized by whole weeks.

What you will learn

Minimal example

<label for="report-week">Report week</label>
<input id="report-week" name="report-week" type="week" required>

The submitted value uses a year-and-week representation such as 2026-W10. The picker UI and visible formatting can vary by browser.

Common mistakes