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