← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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