← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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