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