← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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