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