← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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