← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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