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