← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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