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