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