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