HTML Tutorials - Paragraphs
In html the markup code used to define a paragraph is
<p>My First Paragraph …</p> <p>My Second Paragraph …</p> |
As you can see Paragraph in HTML are defined inside the <p> and </p> tags.
Using this tag places a blank line above and below the text of the paragraph.
Almost all your pages require paragraphs; it’s a great way of formatting your pages, similar to the way you view pages on a newspaper or in a word processor.
An example of a paragraph in HTML would be:
<p>Beginner-Tutorials.com provide free <a href="index.php">online web tutorials</a> and online computer training courses so you can study everything you need to learn, right here and right now. At Beginner-Tutorials.com you will find all the computer training tutorials you need, from basic <b>HTML and XHTML to advanced XML, SQL, PHP, PERL, Unix</b>, Database, Multimedia and business tutorials. Select your Beginner Online Web Tutorials from the menu on the left! Our <a href="index.php">computer training tutorials</a> are simple and easy to follow, hence the name beginner tutorials. </p> |
As you can see you can add other html tags like images/tables etc, you can format text inside your paragraph by adding <b> </b> tags like above.
The output from the above paragraph would be

HTML - Paragraph Justification
In HTML paragraphs can be formatted to display your paragraph in the center of the page to the right or to the left.
Example:
| <p align="left">Paragraph will be displayed to the left...</p> |
Output:

| <p align="right">Paragraph will be displayed to the right...</p> |
Output:

| <p align="center"> Paragraph will be displayed in the center...</p> |

That’s it on the basics of paragraphs
![]() |
