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