Layout Options

  • Fixed Header
    Makes the header top fixed, always visible!
  • Fixed Sidebar
    Makes the sidebar left fixed, always visible!
Basics Html Parapgraph
Navigation menus are one of the basic building blocks for any web or mobile app.

Tag Description

The p tag is used to define a paragraph. By default, space before and after paragraph elements is automatically included.

This tag has the form:

<p>text</p>

HTML5 and HTML4.01 Differences

The align attribute, which was deprecated in HTML4.01, is no longer supported in HTML5.

Attributes

Attribute Value Description
align left
right
top
bottom
Defines the alignment of a caption
HTML4: Deprecated in HTML4.01
HTML5: Not supported in HTML5

Global Attributes

This tag also supports the HTML Global Attributes.

Event Attributes

This tag also supports the HTML Event Attributes.

Examples

The following example shows the basic use of this tag:

<p>
  Lorem ipsum dolor sit amet...
</p>
<p>
  Ut enim ad minim veniam...
</p>   

This produces the following result:

Lorem ipsum dolor sit amet...

Ut enim ad minim veniam...

Browser Support

Chrome Firefox IE Safari Opera

Doctype Declaration Support

The following table lists the doctype declarations this element may appear in:

HTML4.01 / XHTML1.0 XHTML 1.1 HTML 5
Traditional Strict Frameset

Miscellaneous Information

Defined In: HTML 3.2
Empty Tag: No