Question 1 of 6
What happens to extra spaces and line breaks inside a
<p> element by default?
The browser treats a run of whitespace as a boundary to normalize, not as content to preserve exactly.
Default HTML whitespace handling collapses any run of spaces, tabs, and line breaks into one space. Changing that requires CSS (white-space) or <pre>, not a different element.
Review this lesson