HTML Worksheet: Forms and Inputs
Code tip (Pick the right box): <form> holds <input> tags; type= picks the kind: text, password, email, number, date … Radio buttons with the same name allow only ONE choice; checkboxes allow many. type="submit" makes the send button; <label> names a box.
NameDateTime takenScore ___ / 40
-
1.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="fruit"> Banana
<input type="radio" name="fruit"> Guava
<input type="radio" name="fruit"> Litchi
<input type="radio" name="fruit"> Papaya
<input type="radio" name="fruit"> Mango
</form> -
2.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="fruit"> Guava
<input type="radio" name="fruit"> Mango
<input type="radio" name="fruit"> Papaya
<input type="radio" name="fruit"> Banana
<input type="radio" name="fruit"> Litchi
</form> - 3.📝 Which input type takes only numbers? (a) password (b) date (c) checkbox (d) number
- 4.📝 Which input type is for one line of words? (a) email (b) checkbox (c) date (d) text
- 5.📝 Which input type is for an email address? (a) radio (b) email (c) password (d) date
- 6.📝 Which input type picks a day? (a) text (b) submit (c) date (d) password
- 7.True or false: <input type="email"> is for an email address. (a) True (b) False
- 8.What is <input type="email"> for? (a) hides what you type (b) is for an email address (c) picks a day (d) lets you pick only one
-
9.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="fruit"> Guava
<input type="radio" name="fruit"> Papaya
<input type="radio" name="fruit"> Litchi
</form> - 10.📝 Which input type lets you pick only one? (a) radio (b) checkbox (c) date (d) password
- 11.📝 Which input type sends the form? (a) submit (b) text (c) number (d) email
-
12.📝 How many <input> tags are in this form?
<form>
<input type="date">
<input type="password">
<input type="text">
<input type="submit" value="Send">
</form> -
13.📝 How many <input> tags are in this form?
<form>
<input type="password">
<input type="text">
<input type="email">
<input type="date">
<input type="checkbox">
<input type="submit" value="Send">
</form> - 14.True or false: <input type="email"> lets you pick only one. (a) False (b) True
- 15.📝 Which tag makes a big box for many lines of text? (a) <p> (b) <br> (c) <textarea> (d) <input>
- 16.True or false: <input type="email"> is for one line of words. (a) False (b) True
-
17.📝 How many <input> tags are in this form?
<form>
<input type="number">
<input type="checkbox">
<input type="submit" value="Send">
</form> - 18.What is <input type="number"> for? (a) is for an email address (b) sends the form (c) is for one line of words (d) takes only numbers
-
19.📝 How many <input> tags are in this form?
<form>
<input type="email">
<input type="date">
<input type="password">
<input type="checkbox">
<input type="submit" value="Send">
</form> - 20.What is <input type="text"> for? (a) sends the form (b) lets you tick many (c) is for one line of words (d) is for an email address
- 21.What is <input type="submit"> for? (a) is for one line of words (b) is for an email address (c) takes only numbers (d) sends the form
-
22.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="fruit"> Mango
<input type="radio" name="fruit"> Guava
<input type="radio" name="fruit"> Banana
<input type="radio" name="fruit"> Papaya
<input type="radio" name="fruit"> Litchi
</form> -
23.📝 How many <input> tags are in this form?
<form>
<input type="email">
<input type="password">
<input type="date">
<input type="checkbox">
<input type="submit" value="Send">
</form> -
24.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="colour"> Blue
<input type="radio" name="colour"> Red
<input type="radio" name="colour"> Pink
</form> -
25.📝 How many <input> tags are in this form?
<form>
<input type="date">
<input type="password">
<input type="email">
<input type="text">
<input type="number">
<input type="submit" value="Send">
</form> - 26.True or false: <input type="password"> hides what you type. (a) True (b) False
- 27.What is <input type="password"> for? (a) takes only numbers (b) hides what you type (c) picks a day (d) lets you tick many
- 28.True or false: <input type="email"> sends the form. (a) False (b) True
- 29.📝 Which input type lets you tick many? (a) email (b) checkbox (c) number (d) submit
- 30.📝 Which tag makes a drop-down list? (a) <li> (b) <select> (c) <ol> (d) <ul>
-
31.📝 How many <input> tags are in this form?
<form>
<input type="email">
<input type="text">
<input type="password">
<input type="submit" value="Send">
</form> - 32.True or false: <input type="text"> takes only numbers. (a) False (b) True
- 33.📝 Which tag gives a form box a name you can click? (a) <title> (b) <h1> (c) <label> (d) <hr>
-
34.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="checkbox" name="sport"> Cricket
<input type="checkbox" name="sport"> Chess
<input type="checkbox" name="sport"> Hockey
<input type="checkbox" name="sport"> Kabaddi
</form> - 35.True or false: <input type="date"> picks a day. (a) False (b) True
- 36.What is <input type="radio"> for? (a) lets you pick only one (b) hides what you type (c) picks a day (d) is for one line of words
-
37.📝 How many <input> tags are in this form?
<form>
<input type="email">
<input type="password">
<input type="text">
<input type="checkbox">
<input type="number">
<input type="submit" value="Send">
</form> - 38.True or false: <input type="checkbox"> is for an email address. (a) True (b) False
-
39.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="fruit"> Litchi
<input type="radio" name="fruit"> Guava
<input type="radio" name="fruit"> Banana
<input type="radio" name="fruit"> Mango
<input type="radio" name="fruit"> Papaya
</form> -
40.📝 How many <input> tags are in this form?
<form>
<input type="checkbox">
<input type="text">
<input type="password">
<input type="number">
<input type="submit" value="Send">
</form>
Answer key
- 1
- 1
- number
- text
- date
- True
- is for an email address
- 1
- radio
- submit
- 4
- 6
- False
- <textarea>
- False
- 3
- takes only numbers
- 5
- is for one line of words
- sends the form
- 1
- 5
- 1
- 6
- True
- hides what you type
- False
- checkbox
- <select>
- 4
- False
- <label>
- 4
- True
- lets you pick only one
- 6
- False
- 1
- 5
Free html and css lessons, practice and worksheets at talentjr.in/html-css-for-kids