I want to replicate the border around "Contact details:". I've been searching everywhere but I didn't find anything that helped me.
Asked
Active
Viewed 37 times
2 Answers
0
Fieldset and legend will take care of this for you:
<fieldset>
<legend>Contact Details:</legend>
Name: <input type="text"><br>
Password: <input type="text"><br>
Email: <input type="text">
</fieldset>

JRoss
- 1,375
- 10
- 19
0
The fieldset tag does that automatically.
<form>
<fieldset>
<!-- code -->
</fieldset>
</form>

Eldar Omerovic
- 108
- 12