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