← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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