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