Writing a Hello World using HTML in vs Code

 Writing a Hello World using HTML  in vs Code.

Hello everyone in this blog we are going to learn how to write hello world program using HTML & CSS.

For writing HTML and CSS code we are going to need a code editor. I prefer using VS Code you can download it from https://code.visualstudio.com/download.

After installing VS Code make a folder anywhere in your desktop. Open that folder and right click on it. Then click on Open with Code.


If you don't get this option you can open Powershell Window by hold shift + right click.
Then write code . and hit enter.



This will open VS Code in that specific folder.

Now go to Extensions tab and download Live Server.


After installing live server don't forget to restart your vs code.

Now make a new file called index.html.



Now type ! and hit enter to get Emmet for html.


You will get this code snippet.


Now you can write Hello World inside body tag or make h1 tag to write hello world.



Now click on Go Live on the bottom right corner. If you don't go live option restart your VS Code and don't forget to save file before restarting. OR you can right click and then get Open with live server option.


After clicking on go live your default browser will open and you will get your hello world message.

Congratulations your have written your 1st hello world command using HTML.

Thank You !!


Comments