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