giving an option to close a paragraph in html code example Example 1: how to use p in html <p> your text here </p> Example 2: p tag html <p>Paragraph</p>