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