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