← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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