How can i recreate the classic behavior of a form with fieldset and legend
<form>
<fieldset>
<legend>
Text
</legend>
</fieldset>
</form>
using a div and a label?
<div>
<label>
Text
</label>
</div>
I need the label to have a transparent background.
How can I recreate it in a custom way? Thanks