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