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