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