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