← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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