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