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