← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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