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