← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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