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