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