Is there a way to place a H1 header and regular text side by side on a single line with a line underneath them? Here is what I have attempted so far:
This code snippet was my attempt, however, it did not produce the desired result. Can you point out what I might be overlooking?
<div style="border-bottom:1px;">
<div align="left"><h1>Header</h1></div>
<div align="right">Regular Text Goes Here</div>
</div>