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