howt o use visual code for html 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: create an html page in visual studio
<html>
<head>
<title>Hello World</title>
</head>
<body>
<h1>Hello World</h1>
</body>
</html>