← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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