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