← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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