Answers for "p text align left"

5

html align text left

<p style="text-align: left;"> Left alignment </p>
Posted by: Guest on April-03-2021
3

html align text right

<p style="text-align: right;"> Right alignment </p>
Posted by: Guest on April-03-2021
3

how to center align text in html

you just need to add this line of code in your tag(<p>; h1, h2, td etc):
  
<p align="center">sample text<p/>
Posted by: Guest on December-21-2020

Browse Popular Code Answers by Language