← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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