Computer Science, asked by ricky51, 1 year ago

what is the difference between the P tag and the BR tag with the syntax and example​

Answers

Answered by Christianaluo
14

<P> Tag :-

(i) The <P> tag defines a paragraph.

(ii) The <P> tag marks the beginning of a paragraph and </P> tag marks the end.

(iii) It has closing tag.

(iv) It adds space above and below.

(v) Syntax - <P>............................. </P>

(vi) Ex - <P> I want to become a website

designer. </P>

<BR> Tag :-

(i) The <BR> tag forces a line break.

(ii) The text on image following <BR> tag is moved to next line.

(iii) It doesn't have closing tag.

(iv) It doesn't adds space above and

below.

(v) Syntax - <BR>............................

(vi) Ex - <BR> I want to become a website designer.

I hope it helps you!!!

Please mark this as Brainliest answer.

Similar questions