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