← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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