← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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