<p></p>

Alternative to the Markdown paragraphs. This tag can be use to center or right align the text.


Attribut

Description

Values

align

Block alignment.

left, right, center or justify

Example

<p align="center">Welcome to Markdown!<p>

Warning

Nested paragraphs are not supported, either with the <p> tag or with blank lines in the Markdown syntax.

The following example is not valid:

<p align="center">
  <p>![logo](mylogo.jpg)</p>
  <p>Welcome to Markdown!</p>
</p>

nor is this one:

<p align="center">
![logo](mylogo.jpg)

Welcome to Markdown!
</p>

Instead, declare two paragraphs which will give you the same rendering:

<p align="center">![logo](mylogo.jpg)</p>
<p align="center">Welcome to Markdown!</p>