← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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