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