← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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