← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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