← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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