← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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