← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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