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