← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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