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