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