← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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