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