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