← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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