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