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