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