you can use htmlrunner for run any type of html,css and js code online and also here are a features you can see output in a new tab.