← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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