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