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