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