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