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