← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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