I've stumbled upon <div> behavior I've never noticed.
<div> doesn't inherit text formatting styles from the <p> tag. Only from the <p> tag. Even when using class selector.
https://codepen.io/elaman/pen/JjjRvWB
Is there any documented explanation to this?