Paragraph in HTML


 Paragraph in HTML 

HTML paragraph <p> is used to create a paragraph. HTML paragraphs ends with </p>. 

Example

<html lang="en">
<head>
   <title>Introduction to HTML</title>
</head>
<body>
    <p>This is a simple paragraph.</p>
</body>
</html>

Result

This is a simple paragraph.

Description :

The paragraph tag will display text which is written between <p> and </p>. Extra spaces will be removed. When there is more then 1 space between two words the rest of the blank spaces will be removed automatically by browser. 

No comments:

Post a Comment