← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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