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