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