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