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