← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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