← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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