← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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