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