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