how does the p tag in html work code example Example 1: how to use p in html <p> your text here </p> Example 2: html p <p>Paragraph text.</p>