I'm curious about how the web browser displays the legend
tags content by inserting the content between a border. If I wanted to recreate this myself I'm thinking I would have to mess with absolute/relative positioning but I think/hope there's a much cleaner way..:P
I inspected the source code but quickly gave up :P
Here's some sample code:
<fieldset>
<legend>How did i get here?</legend>
Name: <input type="text"><br>
Email: <input type="email">
</fieldset>