HTML | DOM Input Date name Property
The Input Date name property is used for setting or returning the value of the name attribute of a date field.
- For returning the name property:
- For setting the name property:
- name : It is used to specify the name of the date field.
Return Value: It returns a string value that specifies the name of the Input Date field.
Below program illustrates the Date name property :
Getting the name of a date field.
After clicking the button
Supported Web Browsers
- Apple Safari
- Internet Explorer
- Google Chrome
Attention reader! Don’t stop learning now. Get hold of all the important Comcompetitivepetitve Programming concepts with the Web Design for Beginners | HTML course.