I'm trying to set the div width to be decided by h1. So the header can be as wide as it wants to be, while the paragraph will only be as wide as the header.
<div>
<h1></h1>
<p></p>
</div>
I've heard that this is impossible in plain html/css. Is this true? If so, what would a solution look like?