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