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