← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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