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