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