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