← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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