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