Press "Enter" to skip to content

P Tag Examples in HTML

Last updated on October 4, 2019

Definition :

  • this is a tag which is meant for displaying the content in the form of a paragraph on the webpage
  • & nbsp stands for no breaking space

Program :



                      <p align=”left”> Hello </p>

                                  <p> &nbsp; </p>

                                  <p align=”right”> Hello </p>

                                  <p> &nbsp; </p>

                                  <p align=”center”> Hello </p>

                                  <p> &nbsp </p>



Be First to Comment

    Leave a Reply

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