← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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