Computer Science, asked by janvirajak2, 5 months ago

distinguies between paragraph and line break tags​

Answers

Answered by siyadubey16
6

\Huge\bold{\underline{\purple{ Paragraph}}}

The paragraph tags are used to define a block of text as a paragraph. This HTML element is one of the basic HTML tags you should learn to use properly. When a block of text is surrounded by the paragraph tags, the browser automatically adds white space before and after the paragraph.

\Huge\bold{\underline{\green{ LineBreak}}}

A line break ends the line you are currently on and resumes on the next line. Placing <br /> within the code is the same as pressing the return key in a word processor. Use the <br /> tag within the <p> (paragraph) tag.

\Huge\bold{\underline{\underline{\red{ Difference}}}}

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.

Similar questions