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