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