VOOZH about

URL: https://www.geeksforgeeks.org/html/html-input-typeweek/

⇱ HTML <input type="week"> - GeeksforGeeks


  • Courses
  • Tutorials
  • Interview Prep

HTML <input type="week">

Last Updated : 20 May, 2024

The HTML <input type="week"> is used to select a specific week of the year using a week picker interface. It provides an easy way to input week-based data, including the year and week number, in a standardized format, enhancing user experience and data consistency.

Syntax

<input type="week">

Example: In this example, we will explain the use of HTML <input type="week">.

Output

👁 HTML-Input-Type-Week

Supported Browsers

  • Google Chrome 20
  • Edge 12
  • Opera 11
Comment
Article Tags: