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