← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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