HTML DateThe date is the value of the type attribute of an <input> element. It creates a calendar that allows a user to choose the date. The resulting value includes the day, month, and year. SyntaxExample 1: The following example describes how to use the date in <input> tag: Test it NowOutput: ![]() Example 2: The following example uses the JavaScript code for displaying the date which is entered in form. Test it NowOutput: ![]() Browser Support
Next TopicHTML Form Action
|
JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week