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