Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

date tag html

The <input type="date"> defines a date picker.
The resulting value includes the year, month, and day.
Tip: Always add the <label> tag for best accessibility practices!

<label for="birthday">Birthday:</label>
<input type="date" id="birthday" name="birthday"> 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #date #tag #html
ADD COMMENT
Topic
Name
1+1 =