Running an HTML5 Application

See Also 

An HTML5 application project is typically run in a browser on your desktop or a mobile device. When you run an HTML5 application on your local system for testing or debugging you do not need to compile or deploy the application to a server because the JavaScript engine in the browser generally handles any scripts in the application. To run the application you only need to specify the browser and then run the application.

Specifying the browser

When you want to run an HTML5 application or file from the IDE you need to specify the target browser. The IDE enables you to easily select any of the browsers that are installed on your local system or you can select the embedded WebKit browser.

You can specify the target browser for the application in the following ways.

Running an application

After you specify the browser, you can run the application in the following ways.

When you run an application the IDE opens the application in the selected browser. You can run an application using the internal web server or specify an external server. You can set the web server in the Run category in the Project Properties window of the project.

Running a file

You can run an HTML file in an HTML5 application in the following ways.

When you run a file the IDE opens the file in the target browser for the application.

See Also
Debugging an HTML5 Application Project
Integrating an HTML5 Project with the Browser
Inspecting HTML5 Code with the Browser
Changing Browser Screen Sizes

Legal Notices