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