Paragraph in HTML
In HTML <p> element tag 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.
Input:-
<html>
<body>
<p>This is 1st paragraph.</p>
<p>This is 2nd paragraph.</p>
<p>This is 3rd paragraph.</p>
</body>
</html>
Output:-
This is a paragraph.
This is a paragraph.
This is a paragraph.
Comments
Post a Comment