There is a common scenario where I often encounter this issue:
<span>
<p>hello world</p>
</span>
It involves reducing the width of a paragraph to fit the text, but unfortunately it leads to clutter in my HTML. Is there a way to make the paragraph
element adjust to the text size without the need for wrapping it in a span
/div
?