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