Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>HTML PlayNew to Visual Studio Code? Get it now.
HTML Play

HTML Play

bianxianyang

|
1,737,025 installs
| (8) | Free
html/js/css playground
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

html/javascript/css playground

usage

HTMLPlay: play / ctrl-alt-h

  • Select the index.html / script.js / style.css file in a directory to run index.html+script.js+style.css.
  • Select other *.html or *.js files in a directory to run this single file.

sample

example

  • use jquery
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<body>
	<div></div>
</body>
<script>
	$('div').html("<div>1</div>");
</script>

output log

  • alert(xxx);

debug

  • Developer: Open Webview Developer Tools

feedback

bianxianyang@foxmail.com

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft