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