How to Run HTML Files Using Live Server in VS Code

Опубликовано: 16 Июнь 2026
на канале: Tanvir Daily Uploads
23
0

How to Run HTML Files Using Live Server in VS Code

In this tutorial, you'll learn how to run HTML files instantly using the Live Server extension in Visual Studio Code. We'll cover installing the Live Server extension, opening your HTML project, and launching a local development server with automatic browser refresh whenever you save changes. This is one of the easiest ways to develop and test HTML, CSS, and JavaScript projects.

🚀 How to Run HTML Using Live Server in VS Code

1. Open Visual Studio Code.
2. Click on the Extensions icon (or press Ctrl + Shift + X).
3. Search for "Live Server".
4. Install the Live Server extension by Ritwick Dey.
5. Open your HTML project folder.
6. Open your HTML file (e.g., index.html).
7. Right-click inside the HTML file and select "Open with Live Server".
8. Your default browser will open automatically.
9. Save any changes to your HTML, CSS, or JavaScript files and the browser will refresh instantly.

That's it! Your HTML project is now running on a local server.
#HTML #LiveServer #VSCode #WebDevelopment #HTMLTutorial #Coding #FrontendDevelopment #JavaScript

html, live server, vscode live server, run html in browser, html tutorial, visual studio code, web development, frontend development, live server extension, html css javascript, coding tutorial, vscode tutorial, beginner web development, html project, website development