← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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