HTML & CSS
/Beginner
Paragraphs
Definition
The `<p>` element represents a paragraph of text. Browsers automatically add an empty line (margin) before and after each `<p>` element.
Explain Like I'm New
The bread and butter of text on the web. Any standard block of reading text should be wrapped in a `<p>` tag.
Real World Example
Writing a blog post. Every separate block of text is its own `<p>` tag.
Common Use Cases
- •Displaying standard text
- •Separating blocks of reading material
Interactive Example
Interview Questions
basic
- Is the `<p>` tag a block-level or inline element?
intermediate
- What happens if you put a bunch of extra spaces and line breaks inside a `<p>` tag in your code?