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