How can I write heading in between a border that it surrounds it but do not over ride on it. Please see the image so you'll be more clear what I want to do.
Asked
Active
Viewed 162 times
0
-
Please post your code. – Unmitigated Jul 27 '18 at 17:49
3 Answers
3
https://developer.mozilla.org/en-US/docs/Learn/HTML/Forms/How_to_structure_an_HTML_form
check it out here, what you want is between <legend>
</legend>
tags in the code example at website listed above

Milos Rancic
- 276
- 3
- 9
1
In your form you can use the below tag for the same
<legend>*Your text here*</legend>
Make sure that your <legend>
tag is inside a <fieldset>
tag.

Anshul Jindal
- 39
- 5