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