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