← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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