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