← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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