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