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