← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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