HTML PARAGRAPHS

 HTML PARAGRAPHS

A paragraph always starts on a new line and is usually a block of text.

HTML Paragraphs


The HTML <p> element defines a paragraph.

A paragraph always starts on a new line, and browsers automatically add some white space (a margin) before and after a paragraph.


<p>This is a paragraph.</p>
<p>This is another paragraph.</p>


<p>
This paragraph
contains a lot of lines
in the source code,
but the browser
ignores it.
</p>

<p>
This paragraph
contains a lot of spaces
in the source code,
but the browser
ignores it.
</p>
=============================================================

Comments

Popular posts from this blog

250+ C Programs for Practice

FUNCTION OVERRIDING IN CPP