← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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