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