← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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