← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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