because divBecause the div
tag has higher precedence then pthan the p
tag. pThe p
tag represents fora paragraph tag whether divwhereas the div
tag represents a document tag. you
You can write many paragraphs in a document tag, but you can't write a document in a paragraph. SameThe same as a DOC file.