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