<p> is used to represent paragraphs in html.These have both opening and closing tags.
So anything mentioned within
</p> is treated as a paragraph.
<p>This is a paragraph</p>
<p>This is also a paragraph</p>
This is a paragraph
This is also a paragraph
HTML Horizontal Rules
<hr> tag in HTML stands for horizontal rule and is used to insert a horizontal rule or a thematic break in an HTML page to divide or separate document sections.
<hr> tag is an empty tag, and it does not require an end tag.
<h1>This is heading 1</h1>
<p>This is some text.</p>
<h2>This is heading 2</h2>
<p>This is some other text.</p>
This is heading 1
This is some text.
This is heading 2
This is some other text.
HTML Line Breaks
The browser does not recognize new line and paragraph formatting in the text. If you want to start a new line, you need to insert a line break with the help of the
<br> tag inserts a single carriage return or breaks in the document. This element has no end tag.
<p>This is<br />a paragraph<br />with line breaks.</p>
with line breaks.