how to run html and css code in visual studio code code example

Example 1: how to link css to html in visual studio code

> <!DOCTYPE html>
> 
> <header>
> <meta charset="UTF-8">
> <title>Homepage.html</title>
> <link rel="stylesheet" type="text/css" href="./style.css"/>
> </header>
> <body>
> </body> 
> </html>

Example 2: 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!