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