Why does the div element act as a box around the p element?
p element is a child element nested inside the divdiv element is nested inside the p elementp element can only go inside a div element div element cannot act as a box around a p elementBecause the p element is a child element nested inside the div.