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