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