← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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