← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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