← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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