← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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