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