Question · Vue.js course · Module 5: Events & Forms

Fieldset and legend

What are <fieldset> and <legend> used for in a form?

Answer options

  • For validating a group of fields
  • For grouping related form fields with a description
  • For hiding fields
  • For creating a legend below the form

You can check the correct answer by solving this task in the CodeWorlds game.