← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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