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