← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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