← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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