← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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