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