← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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