HTML Paragraph is defined by <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 <p> and </p> tag.
For more Why We Should Use "em" Unit instead of "px, cm, % etc."
In the above, we have shown an example of HTML Paragraph.
Run the code to see the effect.
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.
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.