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