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