top of page

#5 : Open HTML File

Once we have created the HTML file, we need to open it inside Visual Studio Code. We can do this by pushing the "Open Folder" button on the welcome screen. Find the folder that you put the HTML file in and select the folder. Your website should show up on the screen in front of you.

Screenshot 2023-09-24 152625.png

#6 : Add HTML Template to File

Now that we are completely set up, we can start putting in our code. To make a website in HTML, you need a template or a starting point where we can add or modify the properties of our website. Copy and paste the template on the right into Visual Studio Code. Then we can move onto the next step.

Template:

<!DOCTYPE html>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <h1>Header</h1>
    <p>Paragraph</p>
</body>
</html>

 

 
bottom of page