Computer Science, asked by sudipkrpaul, 1 year ago

difference between BR and P tag​

Answers

Answered by Avishi123
232

Answer:

BR tag = It is used for breaking line and moving to the same line in the same paragraph.

P tag- It is used for changing paragraphs and starting a new paragraph just after it.

Answered by Sanav1106
24

BR tag is a line breaking tag in HTML and P tag is a paragraph tag in HTML.

BR tag:-

  • It is used to break the line in text.
  • It is necessary for writing poems or address because the line division is needed.
  • It is an empty tag.

P tag:-

  • It is used in a paragraph of text.
  • It is an opening and closing tag which means if it is opened earlier, it must be closed.
  • It always starts on a new line because it is a block-level element or tag in HTML.
Similar questions