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