What tag in HTML
can be used to make the box that surrounds Alternative Emails
Use a Fieldset with a Legend
Example:
<fieldset>
<legend>Persona:</legend>
Name: <input type="text"><br>
Email: <input type="text"><br>
Date of birth: <input type="text">
</fieldset>
You can use a fieldset
to do what you want:
*{
font-family: Arial;
}
textarea{
height: 80px;
width: 220px;
}
.add{
margin-left: 5px;
position: fixed;
margin-top: 15px;
}
.delete{
margin-left: 5px;
position: fixed;
margin-top: 40px;
}
<form>
<fieldset>
<legend>Correos electrónicos alternativos:</legend>
<textarea>[email protected] [email protected]</textarea>
<button class="add">Agregar</button>
<button class="delete">Eliminar</button>
</fieldset>
</form>