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