How do I indent a whole paragraph and not just the first line of the paragraph

Tell us what’s happening:
Describe your issue in detail here.

Your code so far


<p>Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.</p>
<p2>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p2>


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36

Challenge: Introduction to HTML5 Elements

Link to the challenge:

Concerning your HTML, there is no such thing as a <p2> element, only a <p> element. You can have two <p> elements on the same page.

Concerning your question, it doesn’t seem to have anything to do with this challenge so I’m not sure if I am understanding it correctly. You can indent an entire paragraph on the page using CSS, either the margin or padding property will do, but I’m not exactly sure if that is what you are asking. Please be a little more specific.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.