← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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