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