HTML p tag

  • HTML p tag is an HTML tag that creates paragraphs.
  • Using the p tag, we can divide the text into paragraphs instead of one big text. This way, we can prevent any confusion by making it easier to read and understand texts.
  • This is one of the HTML tags that are used very often.
  • As a default, p tag has upper and lower margin values (upper and lower spaces).

HTML p tag

<p>Lorem ipsum is placeholder text </p>

Lorem ipsum is placeholder text

<p>
  Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor 
  incididunt ut labore et dolore magna aliqua.
</p>
<p> 
  Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut 
  aliquip ex ea commodo consequat. 
</p>
<p>
  Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu 
  fugiat nulla pariatur. 
</p>
<p>
  Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia 
  deserunt mollit anim id est laborum.
</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.

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

486 Views
70560cookie-checkHTML p tag

Leave a Reply

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