← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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