← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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