← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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