Viewing Pages with Web Contents
With PhpStorm, you can perform two opposite operations:
Preview the output of your Web application in the browser to check whether the pages are rendered correctly.
PhpStorm can display a page preview in a browser of your choice or you can switch between several browsers.
PhpStorm currently supports previews in the following browsers:
- Mozilla Firefox
- Internet Explorer
No preliminary steps are required to view HTML code. However, to preview PHP pages in the browser, you need to configure synchronization with a server first.
- View the HTML source code of a Web page in the PhpStorm editor.
In this section:
- Configuring Browsers
- Previewing Pages with Web Contents in a Browser
- Viewing HTML Source Code of a Web Page in the Editor