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