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