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