Jazzo.co.uk uses cookies to provide necessary site functionality and improve your experience. By using our website, you agree to our Privacy Policy and our Terms & Condition.

HTML - Indentation

query_builder | Christopher Pisani

To better understand the code you are writing, we use indentation on elements. Every child element, in the parent element, is usually spaced by 4 spaces / TAB. This helps code to be read by the web developers, and for debugging purposes. It should be used consistently, to follow the scripting standards. Imagine of scrolling through thousands of lines of code without indentation. This would be an absolute nightmare for another developer, or yourself, after a period of time.

Without indentation:

With indentation: