← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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