Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What are the new <input> types for form validation in HTML5?
Home
HTML
What are the new <input> types for form validation in HTML5?
+1
vote
asked
Oct 24, 2019
in
HTML
by
SakshiSharma
What are the new <input> types for form validation in HTML5?
html-validation
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Oct 24, 2019
by
rajeshsharma
The new input types for form validation are email, URL, number, tel, and date.
Example:
<input type="email">
Your comment on this answer:
Email me at this address if a comment is added after mine:
Email me if a comment is added after mine
Privacy: Your email address will only be used for sending these notifications.
Related questions
0
votes
Q: We can disable validation of HTML5 form elements by using
asked
Feb 17
in
HTML
by
DavidAnderson
html5-interview-questions-answers
0
votes
Q: New input type attributes in HTML5
asked
Oct 23, 2019
in
HTML
by
AdilsonLima
#html
#html5
#html-code
#html-line
#html-inline
0
votes
Q: How would you perform input validation for a web form in JavaScript?
asked
Dec 22, 2023
in
C Plus Plus
by
GeorgeBell
cplus-plus-interview-questions-answers
0
votes
Q: What are the different new form element types in HTML 5?
asked
Oct 24, 2019
in
HTML
by
SakshiSharma
html5-element
html5
element-types
element-html5
0
votes
Q: onformchangeWhat are the new form elements introduced in HTML5
asked
Jun 6, 2019
in
Data Handling using R
by
tempuser
#datahandling
0
votes
Q: What are the new Apis provided by the Html5 standard? Give a brief description of each
asked
Oct 23, 2019
in
HTML
by
AdilsonLima
#html
#html5
#html-code
#html-line
#html-inline
0
votes
Q: New features of HTML5
asked
Oct 23, 2019
in
HTML
by
AdilsonLima
#html
#html5
#html-code
#html-line
#html-inline
0
votes
Q: Which of the following input controls represents a date consisting of a year and a week number encoded according to ISO 8601 in Web Form 2.0?
asked
Feb 11, 2020
in
HTML
by
rahuljain1
#html-controls
0
votes
Q: Which of the following are approaches for input validation?
asked
Mar 17, 2021
in
Secure Code Review
by
DavidAnderson
ssa
0
votes
Q: HTML5 introduces two mechanisms, similar to HTTP session cookies, for storing structured data on the client
asked
Feb 23
in
HTML
by
DavidAnderson
html5-interview-questions-answers
...