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