← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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