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