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