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