Quiz: Web Forms
1. Which HTML element is used to group input fields together?
<form>
<input>
<label>
2. What does the "for" attribute in a <label> tag do?
Connects label to an input field
Sets the input type
Submits the form
3. Which input type is correct for entering an email?
<input type="text">
<input type="email">
<input type="mail">
4. What does a button with type="submit" do inside a form?
Resets all fields
Submits form data
Just displays text
Submit Quiz