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