How to auto generate HTML Code and Run HTML in Visual Studio Code on Windows 10 2021

Опубликовано: 13 Февраль 2026
на канале: ItskhojNepal
2,846
13

Run HTML in visual studio code on Windows 10
Hey, Buddy, In this video, I'm going to show you how you can configure visual studio code to auto generate HTML Code and to run HTML program on #Windows 10 OS (operating system) using Code Runner Extension visual studio code HTML and I'm also gonna show you how you can run basic sample program on #vscode_html HTML in vscode on mac. This video is to solve problem of Emmet.

Adding auto html code extension:
"emmet.triggerExpansionOnTab": true,
"files.associations": {"*html":"html"},


To run html code in Browsers:
Command [Chrome]: cd $dir && start chrome $dir && $fileName
Command [Edge]: cd $dir && start msedge $dir && $fileName
Command [Firefox]: cd $dir && start firefox $dir && $fileName

Credit to this video: Nawaraj Luitel