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