← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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