← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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