← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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