← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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