HTML Paragraphs

By | January 2, 2020

HTML has an element which defines <p> paragraph.

<p>This is first paragraph</p>
<p>This is second paragraph</p>
<p>This is third paragraph</p>



If you give extra space to p, then broweser removes that extra space.

<p>Lorem ipsum dolor sit amet,

consectetur ad           ipisicing elit           . Nulla ea dicta obcaecat 
eius possimus n        obis 
doloremque quidem          dolore at, magnam reiciendis! Odit, deserunt.</p>

<p>Lorem ipsum d            olor sit amet, 
consectetur       adipisicing             elit. Quo, a.

If you want to give space in paragraph, then you can use <br> element.

<p>Lorem ipsum dolor<br> sit amet, consectetur adipisicing <br>elit. Alias incidunt ullam ea nobis libero.</p>
<p>Lorem ipsum <br><br>dolor sit<br><br> amet, <br><br>consectetur <br>adipisicing.</p>

paragraph example

Spread the love

Leave a Reply

Your email address will not be published. Required fields are marked *