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