← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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