-2
You can do something like this:
.form1 {
text-align: 'center'
}
.form1 fieldset{
border: 2px solid #06c;
}
.form1 legend{
text-align: 'center'
width: 400px;
margin:auto;
}
<form class="form1" action="/">
<fieldset>
<legend>Formulário 1</legend>
Nome:<br>
<input type="text" name="nome">
<br>
Email:<br>
<input type="email" name="email" >
<br><br>
<input type="submit" value="Enviar">
</fieldset>
</form>
Thanks, it worked here!
– Renan