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