← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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