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