By default <p> tag is displayed as code example Example 1: how to use p in html <p> your text here </p> Example 2: html p <p>Paragraph text.</p>