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