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