← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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