← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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