← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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