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