← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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