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