← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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