how to format html document in vs code code example
Example 1: visual studio code html template shortcut
First set HTML to the language
Then type:
html:5
And hit Tab
Voila, HTML Template in your favorite code editor!
Example 2: vscode auto format html
Format entire file:
Ctrl + Shift + I