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