


This is described more in depth here: įinally, you may be thinking about Visual Studio 2013, which allows you to use JavaScript. In Visual Studio 2010 you can create a simple window with a WebView element, and you can populate this element with custom HTML, and inject JS, and so forth. These are all merely scripting, styling, and markup languages that must be interpreted by an engine (which in many cases is executable). One cannot simply compile HTML, CSS, and JavaScript into an executable file. HTML is a markup language, which means it must be interpreted by an engine that can display the actual visuals that HTML encodes. how do you justify choosing which browser to integrate? Will you force every user to use your exe browser instead of their favorite? Its technically possible, but also infeasible: far better solutions already exist. So no, HTML is not put into executables strictly for viewing pleasure. But this doesn't necessarily involve any HTML or CSS at all: Javascript is a programming language in its own right, just like the ones other apps are build with. You would need a standalone Javascript interpreter for this. In this case it is an "executable", but not really an.

Despite the "no-cheating" claim above, it is possible to build an application using Javascript as the programming language. But this involves making a real exe: still no cheating. Its a means to an end the app is the actual product. If you want to make the UI of an application via HTML/CSS, that's a whole different story. This cannot easily be converted to a desktop app, for reasons obvious to anyone with the skill to do so. If it is a non-trivial web app, then it is already an executable, albeit on the server, not the client. This method (or some variation) is probably what you want. You can even put this on a CD/DVD and cause Window's autorun feature to automatically load it in a web browser. This is exactly how "Save as complete web page" functionality works in all major browsers. If you have a static HTML site, you can load it into any web browser from a local disk. There are several possible directions here, and I can't be sure what you really want.
