← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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