← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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