← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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