← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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