← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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