HTML Paragraph
HTML Paragraph
HTML Paragraph
-
HTML Paragraph is defined by the <p> tag, and it is used to write the content of articles and blogs on our web page.
-
All the content of articles goes inside the <p> and </p> tags.
For more Why We Should Use 'em" Unit instead of "px, cm, % etc."
Example:
<p>All the content of the articles goes here.....</p>
Example Explanation:
In the above, we have shown an example of HTML Paragraph.
Run the code to see the effect.
Example:
Proper organization of the <p>community project is necessary</p> for rural economic development.
Example Explanation:
In the above, we have shown an example of browser's default nature with HTML Paragraph.
When we use HTML Paragraph in between the texts then the browser automatically adds two new line
1. Before the opening of p tag.
2. After the closing of p tag.
Run the code to see the effect.
Example:
<p>Asia is the world's largest continent.</p>
Example Explanation:
In the above, we have shown an example of browser's default nature with HTML Paragraph.
When we use More than one space inside the HTML paragraph then browser ignored all the extra spaces.
Run the code to see the effect.