HTML Form and Input Tags Interview Questions – HTML Form and Input Tags Online Quiz

Question 1:  Which tag is used to create an HTML form?

Question 2:  Which input type is used to accept only numeric values?

Question 3:  What does the required attribute do in an input field?

Question 4:  Which input type is used for selecting only one option from a group?

Question 5:  Which input attribute is used to provide a hint inside a text field?

Question 6:  What does the disabled attribute do in an input field?

Question 7:  Which input type is used for selecting a date?

Question 8:  What does the <label> tag do?

Question 9:  What does the pattern attribute do in an input field?

Question 10:  What is the default type of <input> if no type attribute is specified?

Leave a Reply