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