← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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