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