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