← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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