html p events code example Example: p tag What does the <p> tag do: Creates a new paragraph. <p>This is a paragraph tag in HTML.</p>