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