test

Friday, 23 September 2022

How to add paragraph in HTML?

 A paragraph always starts on a new line, and browsers automatically add some white space (a margin) before and after a paragraph. The HTML <p> element defines a paragraph.

Example :-

<!DOCTYPE html>

<html>

<head>

<title>Using HTML Heading</title>

</head>

<body>

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

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

</body>

</html>




0 Comments:

Post a Comment