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