element p html code example Example 1: p tag html <p>Paragraph</p> Example 2: html p <p>Paragraph text.</p>