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