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