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