Answers for "vscode format html shortcut"

20

html skeleton shortcut vs code

type "!" (exclamation mark) and press enter in vs code.

//below code will be generated
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
</body>
</html>
Posted by: Guest on July-18-2020
20

visual studio code auto indent

On Windows Shift + Alt + F
On Mac Shift + Option + F
On Ubuntu Ctrl + Shift + I
Posted by: Guest on April-07-2020

Browse Popular Code Answers by Language