View video tutorial

HTML Paragraphs

HTML

<p> Paragraph is a block of text.

HTML Paragraph


<p> defines a block of text to describe something completely or partially in a single block.

Multiple <p> can be used to describe large content.

<p> can contain other html elements.

Learning with HTML Editor "Try it Now"

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

Example

<!DOCTYPE html>
<html>
<head>
    <title>HTML Paragraph Example</title>
</head>
<body>
    <!--Example: Paragraph-->
    <h1>Heading for Pagaraph</h1>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore 
        et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut 
        aliquip ex ea commodo consequat</p>
    <h1>Heading for Pagaraph</h1>
    <p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, 
        totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae 
        dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit</p>
</body>
</html>
Try it Now »

Click on the "See output" button to see how it works.