Can I use the <p> element for a heading?


#1

Question

Can I use the <p> element for a heading?

Answer

The paragraph (<p>) element should not be used as a heading element. The <p> element is used to represent a paragraph of text and would not be best practice to use as a heading. If we want to use the same styling a paragraph element has, on a heading element, we can change that styling in our CSS.