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