← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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