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