← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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