what is p html code example Example 1: how to use p in html <p> your text here </p> Example 2: html p <p>Paragraph text.</p>