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