You can preview a file with Web contents in a browser. This can be the PyCharm default browser specified in the Web Browsers section of the IDE settings or the one of your choice.

See Also

Reference:

Web Resources: