View video tutorial

HTML <p> Tag

HTML

The <p> tag defines a paragraph.

HTML <p> Tag


➔ Paragraphs are usually a block of text separated from adjacent blocks of related content by blank lines.

➔ Paragraphs can be any structural grouping of similar content.

Supported Global attributes

Global attributes may be applied on all elements, although some elements may have no effect on them.

<accesskey>, <class>, <contenteditable>, <contextmenu>, <data-*>, <dir>, <draggable>, <dropzone>, <hidden>, <id>, <lang>, <spellcheck>, <style>, <tabindex>, <title>, <translate>.

Learning with HTML Editor "Try it Now"

You can edit the HTML code and view the result using online editor.

Example

<h2>Paragraph one</h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's
    standard dummy text ever.</p>
<h2>Paragraph two</h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's
    standard dummy text ever.</p>
<h2>Paragraph three</h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's
    standard dummy text ever.</p>
Try it Now »

Click on the "Try it Now" button to see how it works.