VS Code - format html code

8 points
Created by:

In this short article we would like to show how to format HTML code in VS Code.

Simple steps:

  1. open HTML file,
  2. use one keys combination from below table,
    Depending on operating system:
     Keys combination Operating System
    Shift+Alt+Fon Windows
    Shift+Option+Fon Mac
    Ctrl+Shift+ion Ubuntu
  3. if you dont have selected default formatter you need to select one from displayed list or install new one, e.g:

Visual Studio Code

Native Advertising
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂