← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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