← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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