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