← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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