1type "!" (exclamation mark) and press enter in vs code.
2
3//below code will be generated
4<!DOCTYPE html>
5<html lang="en">
6<head>
7 <meta charset="UTF-8">
8 <meta name="viewport" content="width=device-width, initial-scale=1.0">
9 <title>Document</title>
10</head>
11<body>
12
13</body>
14</html>
1<!-- Enter this text and then hit tab -->
2<!-- Language mode must be HTML -->
3
4html:5
5
6
1First set HTML to the language
2Then type:
3
4html:5
5
6And hit Tab
7
8Voila, HTML Template in your favorite code editor!