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