<p style="border:3px; border-style:solid; border-color:#FF0000; padding: 1em;">
First example with text surrounded by a red border.<br>This example also has multiple lines.
</p>
/*All types of border*/
p.dotted {border-style: dotted;}
p.dashed {border-style: dashed;}
p.solid {border-style: solid;}
p.double {border-style: double;}
p.groove {border-style: groove;}
p.ridge {border-style: ridge;}
p.inset {border-style: inset;}
p.outset {border-style: outset;}
p.none {border-style: none;}
p.hidden {border-style: hidden;}
p.mix {border-style: dotted dashed solid double;}
<fieldset>
<legend>Login</legend>
<table>
<tr><td>Username</td><td><input type="text"></td></tr>
<tr><td>Password</td><td><input type="text"></td></tr>
</table>
</fieldset>
<form>
<fieldset>
<legend>Enter the details below</legend>
<!--Inputs or anything-->
</fieldset>
</form>