Which key do we use to indent all the <p> element

Tell us what’s happening:
Describe your issue in detail here. I still finding things difficult so far please help me

  **Your code so far**

<h2>CatPhotoApp</h2>

<main>
<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>
    
<p>Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.</p>
<main>
  **Your browser information:**

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

Challenge: Introduction to HTML5 Elements

Link to the challenge:

Which key do we use to indent all the

element

If you mean to indent in the editor…

Typically you would use the TAB key. You can put it at the beginning of the line you want to indent and hit TAB or you can select several lines and hit TAB to indent them all. This is pretty universal in code editors. And SHFT + TAB will do the opposite. Whether or not a long line of text wraps and whether or not that wrapped text is indented on the screen display - that will depend on the editor and configuration.

1 Like

I am using the freecodecamp camp but when I place my cursor on the beginning and use the tab it only indents the beginning elements leaving the rest to unindent

What is “the rest” in that sentence?

If you mean other lines, the no, it will only indent the line you are on.

If you have selected more than one line then it should indent all the selected lines.

And remember that wordwrap continuations of lines may not indent - they typically do not because they are not separate lines.

1 Like

ok thanks, I am through all thanks to your service if anything else I will write you
thank you

please sir I am stack at adding images to the page but I am stuck please can you give me an example, please

That sounds like a different challenge. You should start a new thread. From the challenge, if you press the Get Help -> Ask for Help button, it will do most of the work for you of creating a new thread with the proper information.

okay sir I will do so

1 Like