← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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