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