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