← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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