Separate the registration form by category

Asked

Viewed 1,119 times

-3

Imagem de exemplo

I have a form and would like to separate by equal categories consists of example in the image, which in the case has "Login Data" and "Contact Data"

How do you do that?

Thank you

  • 1

    Your question is too broad, there are a thousand ways to get this layout. You have to at least put the code you already have ready HTML/CSS in order to help you. The way you ask me there’s no way to answer you

1 answer

0

Wrap the fields you want to separate, with the tag <fieldset></fieldset>. To put a caption as in the example above use <legend>Dados de Login</legend> which should be inside the tag <fieldset>:

<fieldset>
    <legend>Dados de Login</legend>
    <!-- Conteúdo do campo -->
</fildset>
  • 1

    But that doesn’t answer the question... He wants it to look like image!

  • Go very css then!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.