← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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