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