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