← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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