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