← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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