What are the new attributes provided in HTML5 for input tag?
0
Following are the new attributes provided in HTML5 for
1) autofocus:
- This is a Boolean attribute.
- When present, it means that an element should automatically get focus when the page is loaded.
2) form:
- This attribute specifies one or more forms an element belongs to.
3) formaction:
- This attribute specifies the URL of a file that will process the input control when the form is submitted.
- This attribute is used with type="submit" and type="image".
- It overrides the action attribute of the
Sign in to add a comment
0 Answers
0
📝 No answers yet!
Be the first to answer this interview question.
Your Answer
Sign in to post your answer and help the community.