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