← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

HTML and CSS lesson 21: Forms and inputs · Set 78 · 40 questions
TalentJR

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

Answer key

  1. checkbox
  2. False
  3. submit
  4. number
  5. <label>
  6. 1
  7. password
  8. True
  9. True
  10. dots
  11. email
  12. 3
  13. 4
  14. 3
  15. 4
  16. 4
  17. <form>
  18. 3
  19. False
  20. sends the form
  21. 5
  22. <select>
  23. radio
  24. True
  25. picks a day
  26. 4
  27. hides what you type
  28. text
  29. 6
  30. is for one line of words
  31. 3
  32. <textarea>
  33. False
  34. False
  35. False
  36. 1
  37. lets you pick only one
  38. 6
  39. 6
  40. 1

Free html and css lessons, practice and worksheets at talentjr.in/html-css-for-kids