Viewing HTML Files

You can view HTML files directly in the workspace without downloading them.


HTML Preview (Rendering)

  • Opening an .html file shows a preview of the file as below.

HTML viewer

  • If CSS, image, or JS files are in the same folder, resources referenced from the HTML run together with it. If you upload a build output from Vite or similar tools as a whole folder, it works as-is.
  • Click Raw Data in the top right to view the raw content.

Using Interactive Documents

Because JavaScript (JS) runs, HTML files with interactions such as clicks, animations, and tab switching can be run as-is. Without a separate server or deployment, uploading to a folder is all it takes for the entire team to run it.

Usage Examples

  • Prototype proposals where clicking a button switches the screen
  • Reports containing charts or graphs
  • Proposals with interactions like tabs and accordions

Blocking Script Execution

If an HTML file contains a script (<script>) or an event handler, its execution is blocked for security.

Blocking script execution

OptionDescription
Run onceAllows the script only for the current viewing session.
Always allow this fileAutomatically allows scripts for this file going forward.