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