← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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