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