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