Register to Better Coder! It's free.
Enjoy the premium features and succeed at every job interview.

What is a <p> tag?

Experience Level: Junior
Tags: HTML


  • The <p> tag is used to represent a paragraph of text.
  • The <p> tag is a block element.
  • The <p> tag can contain only in-line elements.
  • Don't use the <p /> as self-closing element. It should never be used on its own and should always contain text content.
<p>This is a paragraph of text.</p>
Related HTML job interview questions


No Comments Yet.
Be the first to tell us what you think.
HTML for beginners
HTML for beginners

Are you learning HTML ? Try our test we designed to help you progress faster.

Test yourself