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