-3
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>
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
– hugocsl