← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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