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