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