← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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