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