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