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