Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>web-previewerNew to Visual Studio Code? Get it now.
web-previewer

web-previewer

Oleg Mihailik

|
1,092 installs
| (1) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

HTML Preview for VSCode

Open current document inside VSCode WebView as an normal HTML page.

🌍 HTML Preview

Supports:

  • local and remote images: <IMG SRC="...">
  • local, remote and embedded scripts: <SCRIPT SRC="..."></SCRIPT> and <SCRIPT> ... </SCRIPT>
  • local, remote and embedded stylesheets: <LINK REL=STYLESHEET HREF="..."> and <STYLE> ... </STYLE>
  • alert(...) popups
  • notifications on unhandled exceptions

Does not support (security restricted):

  • embedded pages: <IFRAME> and <OBJECT>
  • opening new windows: window.open(...)
  • synchronous prompts: prompt(...)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft