how to justify p in html code example Example 1: how to justify text in html <p align="justify"> Example 2: text align justify text-align: justify;