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