← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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