← Forms and inputs lesson New set →

HTML Worksheet: Forms and Inputs

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

Answer key

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

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