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