HTML Introduction to HTML and CSS HTML: The Structural Foundation of Web Pages and Applications The Basic Structure of a Web Page

Diego Romero
Diego Romero
939 Points

Indenting more than one line at a time.

I was wondering how can I do to indent more than one line of code at a time, if it's possible.

2 Answers

Steven Parker
Steven Parker
160,020 Points

In the workspace editor, if you select (highlight) multiple lines and then hold the CTRL key while you type a close bracket (]), all the highlighted lines should be indented by one tab stop. Similarly, you can un-indent with CTRL-[.

Some external editors use this same command, but you'd need to check the documentation for the particular editor to be sure (or just try it!).

Diego Romero
Diego Romero
939 Points

It worked! Being able to do that is very useful. Thank you!