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