How to maintain proper indentation between html elements?

Two spaces of indentation is recommended for writing HTML code. But the code’s getting bigger and it’s getting hard to maintain proper indentation according to the relationships among the html elements. Is there any proper guidelines to follow? how can I maintain a proper indentation even when the code is too long?

The indentation is really up to you. If you find that the indenting is getting ridiculous, you could always cut back to one space.

1 Like

Yeah, it was getting a little bit ridiculous. Got it. Thank you.

1 Like