← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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