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