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