HTML paragraph tags are used to define the text paragraphs.
When we create any document, we divide text content into multiple paragraphs. Similarly, HTML documents can be divided into HTML paragraphs.
<p> the tag defines a paragraph. This Paragraph tag automatically adds some margin (white space) before and after a paragraph.
<p>This is a sample paragraph.</p>
HTML Paragraphs – Complete HTML Program Example
You can use multiple paragraphs in a HTML program. Following example consist of three
<html> <head> </head> <body> <p>This is a first paragraph. You can add any kind of text here. </p> <p>This is a second paragraph. This is some sample text. </p> <p>This is another paragraph. You can add multiple lines of text in this paragraph. </p> </body> </html>
|Exercises & Assignments|
|Program to see difference between paragraphs & normal text with line break|
|Interview Questions & Answers|
|No Content Found.|