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