difference between BR and P tags.

Q1. What is the basic difference between <BR> and <P> tags?

Ans. <BR> tags: When you want to provide breaks in the text, or want the text to appear as new, separate line, you need to use the <BR> tag. Whatever text appears within the<BR> tag will appear as a separate line in the Web Browser.

<P> tags: <P> tag is used to mark a block of text as a paragraph. In other words, you can use the <P> tag to separate your text into different paragraphs.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: