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