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