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