← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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