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