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