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