<!DOCTYPE html>
<html>
<body>
<h1>Display a Week Input Control</h1>
<p>The <strong>input type="week"</strong> allows the user to select a week and year.</p>
<p>If the browser supports it, a date picker pops up when entering the input field.</p>
<form action="/action_page.php">
<label for="week">Select a week:</label>
<input type="week" id="week" name="week">
<input type="submit" value="Submit">
</form>
<p><strong>Note:</strong> type="week" is not supported in Firefox, Safari or Internet Explorer 11 (or earlier).</p>
</body>
</html>
The input type="week" allows the user to select a week and year.
If the browser supports it, a date picker pops up when entering the input field.
Note: type="week" is not supported in Firefox, Safari or Internet Explorer 11 (or earlier).
<html>
<body>
<h1>Display a Week Input Control</h1>
<p>The <strong>input type="week"</strong> allows the user to select a week and year.</p>
<p>If the browser supports it, a date picker pops up when entering the input field.</p>
<form action="/action_page.php">
<label for="week">Select a week:</label>
<input type="week" id="week" name="week">
<input type="submit" value="Submit">
</form>
<p><strong>Note:</strong> type="week" is not supported in Firefox, Safari or Internet Explorer 11 (or earlier).</p>
</body>
</html>
Display a Week Input Control
The input type="week" allows the user to select a week and year.
If the browser supports it, a date picker pops up when entering the input field.
Note: type="week" is not supported in Firefox, Safari or Internet Explorer 11 (or earlier).