← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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