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