HTML Paragraph

Tag – Syntax, Examples & Text Formatting Guide



 

The HTML Paragraph Tag is used to define a paragraph of text in a web page. It is written using the <p> opening tag and </p> closing tag. Browsers automatically add space before and after a paragraph.

Syntax

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

Example

<!DOCTYPE html>
<html>
<body>

<p>HTML is used to create web pages.</p>
<p>This is another paragraph.</p>

</body>
</html>


Post a Comment

0 Comments