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