← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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