← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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