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