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