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