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