Dreamweaver Extensions

Paragraph tag

The <p> tag creates a new paragraph.

The <p> tag supports the following attributes:

  • align Specifies alignment of text within the paragraph; valid values are left, right, justify, and center.
  • class Specifies a CSS style class.

    The following example uses the align attribute to align text on the right side of a text field.

    <p align='right'>This text is aligned on the right side of the text field</p>

    The following example uses the class attribute to assign a text style class to a <p> tag:

    <p class='blue'>This is some body-styled text.</p>