← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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