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