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