← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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