How to view an HTML file in the browser with Visual Studio Code - Stack Overflow
HTML viewer (including folders)
Any 3D DOM viewer around anymore? Existing ones are all out of date.
Guacamole - a VNC viewer in HTML5
plus Java
More on reddit.comWhat can I use the HTML Viewer for?
Is this HTML Viewer tool free?
Does the viewer execute JavaScript?
Videos
For Windows - Open your Default Browser - Tested on VS Code v 1.1.0
Answer to both opening a specific file (name is hard-coded) OR opening ANY other file.
Steps:
Use ctrl + shift + p (or F1) to open the Command Palette.
Type in
Tasks: Configure Taskor on older versionsConfigure Task Runner. Selecting it will open the tasks.json file. Delete the script displayed and replace it by the following:{ "version": "0.1.0", "command": "explorer", "windows": { "command": "explorer.exe" }, "args": ["test.html"] }Remember to change the "args" section of the tasks.json file to the name of your file. This will always open that specific file when you hit F5.
You may also set the this to open whichever file you have open at the time by using
["${file}"]as the value for "args". Note that the$goes outside the{...}, so["{$file}"]is incorrect.Save the file.
Switch back to your html file (in this example it's "text.html"), and press ctrl + shift + b to view your page in your Web Browser.
VS Code has a Live Server Extension that supports one click launch from status bar.
Some of the features:
- One Click Launch from Status Bar
- Live Reload
- Support for Chrome Debugging Attachment

I have an HTML file with an included folder of images and other data that needs to be viewed offline or at least stored locally. I've found several ways to view the html file, but none seem to be using the data inside the folder. I'm not sure if I'm missing something easy here or it just won't work how I want it to. The file/folder is viewable when it's located on a server, so I know it will work on an iPad via browser.
Does anyone have any ideas on how to successfully do this? The scenario is I have a training/quiz that needs to be shown to workers out in the field, often times in areas with ZERO reception. It's required by law and easier for someone to go show this to them, then to arrange for them to take a day off work to watch a 45 minute training video with quiz.