← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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