← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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