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