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