← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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