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