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