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