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