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