← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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