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