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