6. Indenting and outdenting

In order to make your code more readable, it is common to indent lines of code that are children to previous lines.

In the example on the previous page, <head> and <body> are indented inside <html> and <title>, <meta> and <script> are indented inside <head>.

You can indent or outdent multiple lines at once by:

  • Highlight the lines to change.
  • Press the Tab key to indent or Shift-Tab to outdent