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