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