← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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