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