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