← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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