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.📝 Which tag gives a form box a name you can click? (a) <label> (b) <hr> (c) <title> (d) <h1>
-
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"> Banana
<input type="radio" name="fruit"> Litchi
<input type="radio" name="fruit"> Mango
<input type="radio" name="fruit"> Papaya
</form> -
3.📝 How many <input> tags are in this form?
<form>
<input type="date">
<input type="checkbox">
<input type="email">
<input type="submit" value="Send">
</form> - 4.📝 Which tag makes a big box for many lines of text? (a) <input> (b) <p> (c) <textarea> (d) <br>
-
5.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="fruit"> Papaya
<input type="radio" name="fruit"> Mango
<input type="radio" name="fruit"> Litchi
<input type="radio" name="fruit"> Banana
<input type="radio" name="fruit"> Guava
</form> - 6.📝 Which input type sends the form? (a) submit (b) text (c) date (d) number
- 7.📝 Which input type lets you tick many? (a) text (b) radio (c) date (d) checkbox
-
8.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="colour"> Pink
<input type="radio" name="colour"> Blue
<input type="radio" name="colour"> Red
<input type="radio" name="colour"> Green
</form> -
9.📝 How many <input> tags are in this form?
<form>
<input type="email">
<input type="number">
<input type="submit" value="Send">
</form> - 10.📝 Which input type picks a day? (a) email (b) number (c) date (d) radio
-
11.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="colour"> Pink
<input type="radio" name="colour"> Green
<input type="radio" name="colour"> Blue
<input type="radio" name="colour"> Orange
</form> - 12.What is <input type="checkbox"> for? (a) takes only numbers (b) hides what you type (c) is for an email address (d) lets you tick many
- 13.📝 Which tag holds a whole form? (a) <input> (b) <ol> (c) <table> (d) <form>
-
14.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="checkbox" name="colour"> Blue
<input type="checkbox" name="colour"> Pink
<input type="checkbox" name="colour"> Green
<input type="checkbox" name="colour"> Red
</form> - 15.True or false: <input type="date"> picks a day. (a) False (b) True
- 16.True or false: <input type="checkbox"> is for an email address. (a) False (b) True
- 17.📝 Which input type is for an email address? (a) number (b) password (c) checkbox (d) email
- 18.📝 Which input type is for one line of words? (a) radio (b) date (c) text (d) number
-
19.📝 How many <input> tags are in this form?
<form>
<input type="text">
<input type="number">
<input type="date">
<input type="checkbox">
<input type="email">
<input type="submit" value="Send">
</form> -
20.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="checkbox" name="colour"> Red
<input type="checkbox" name="colour"> Pink
<input type="checkbox" name="colour"> Blue
<input type="checkbox" name="colour"> Green
</form> - 21.What is <input type="email"> for? (a) hides what you type (b) is for an email address (c) picks a day (d) is for one line of words
-
22.📝 How many <input> tags are in this form?
<form>
<input type="password">
<input type="date">
<input type="text">
<input type="email">
<input type="submit" value="Send">
</form> - 23.What is <input type="text"> for? (a) is for an email address (b) is for one line of words (c) lets you pick only one (d) hides what you type
- 24.What is <input type="radio"> for? (a) hides what you type (b) lets you tick many (c) lets you pick only one (d) sends the form
- 25.True or false: <input type="password"> hides what you type. (a) True (b) False
- 26.True or false: <input type="number"> takes only numbers. (a) False (b) True
- 27.What is <input type="submit"> for? (a) picks a day (b) hides what you type (c) sends the form (d) lets you tick many
-
28.📝 How many <input> tags are in this form?
<form>
<input type="email">
<input type="date">
<input type="checkbox">
<input type="number">
<input type="text">
<input type="submit" value="Send">
</form> -
29.📝 How many <input> tags are in this form?
<form>
<input type="email">
<input type="checkbox">
<input type="password">
<input type="number">
<input type="text">
<input type="submit" value="Send">
</form> -
30.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="radio" name="sport"> Hockey
<input type="radio" name="sport"> Cricket
<input type="radio" name="sport"> Kabaddi
</form> - 31.📝 Which input type hides what you type? (a) checkbox (b) password (c) email (d) submit
-
32.📝 How many <input> tags are in this form?
<form>
<input type="text">
<input type="date">
<input type="email">
<input type="password">
<input type="number">
<input type="submit" value="Send">
</form> - 33.True or false: <input type="submit"> sends the form. (a) False (b) True
-
34.📝 How many <input> tags are in this form?
<form>
<input type="text">
<input type="number">
<input type="password">
<input type="checkbox">
<input type="date">
<input type="submit" value="Send">
</form> - 35.True or false: <input type="checkbox"> lets you tick many. (a) True (b) False
-
36.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="checkbox" name="colour"> Green
<input type="checkbox" name="colour"> Blue
<input type="checkbox" name="colour"> Pink
</form> -
37.📝 How many <input> tags are in this form?
<form>
<input type="checkbox">
<input type="date">
<input type="number">
<input type="text">
<input type="email">
<input type="submit" value="Send">
</form> -
38.📝 At most, how many of these can be chosen at the same time?
<form>
<input type="checkbox" name="fruit"> Mango
<input type="checkbox" name="fruit"> Banana
<input type="checkbox" name="fruit"> Litchi
<input type="checkbox" name="fruit"> Papaya
</form> -
39.📝 How many <input> tags are in this form?
<form>
<input type="number">
<input type="checkbox">
<input type="date">
<input type="email">
<input type="password">
<input type="submit" value="Send">
</form> - 40.True or false: <input type="radio"> hides what you type. (a) False (b) True
Answer key
- <label>
- 1
- 4
- <textarea>
- 1
- submit
- checkbox
- 1
- 3
- date
- 1
- lets you tick many
- <form>
- 4
- True
- False
- text
- 6
- 4
- is for an email address
- 5
- is for one line of words
- lets you pick only one
- True
- True
- sends the form
- 6
- 6
- 1
- password
- 6
- True
- 6
- True
- 3
- 6
- 4
- 6
- False
Free html and css lessons, practice and worksheets at talentjr.in/html-css-for-kids