← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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