← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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