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