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