Computer Science, asked by alpsharma5824, 3 months ago

Differentiate between p tag and pre tag

Answers

Answered by RyAn797
3

<pre> tag represents preformatted text. the content inside this element will be rendered exactly how the content is defined inside of this tag.

<p> tag represents a paragraph, It is a block-level element and will always start in a new line(if there is any content defined above)

it's my first time writing an answer on brainly, pardon me if I messed up anywhere.

Similar questions