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