← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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