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