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