← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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