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