← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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