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