HTML Paragraphs
HTML paragraphs are used to define blocks of text on a web page.
- The
<p>
tag in HTML defines a paragraph. - These have both opening and closing tags. So anything mentioned within
<p>
and</p>
is treated as a paragraph. - Most browsers read a line as a paragraph even if we don’t use the closing tag i.e.,
</p>
, but this may raise unexpected results. So, it is a good convention, and we must use the closing tag.