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