← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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