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