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