the code for a paragraph element code example Example 1: how to use p in html <p> your text here </p> Example 2: p tag html <p>Paragraph</p>