Can I do like this in HTML:
I want to add border title ("General
The image is possibly using a fieldset tag instead of a div, inside a fieldset you can use the tag legend and it will automatically position there.
fieldset
div
legend
General Information