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