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