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