← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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