Creating HTML files

These procedures describe how to create new HTML files and how to open them in the PHP/HTML WYSIWYG Editor, allowing implementation of Zend Studio's full HTML editing functionality.

 

 

Instructions on how to complete a procedure

To create a new HTML file:

  1. In PHP Explorer view, select the folder into which you would like to create the file and from the Menu Bar go to File | New | HTML Page -or- right-click the folder and select File | New | HTML. Page.
    The new HTML Page dialog will appear.

  2. Enter the file's name and click Next.

  3. Select which HTML template to use for the new file and click Finish.

The new HTML file will be created and will open in a standard HTML editor.

 

 If you are interested in editing your code in a WYSIWYG view, you can install the  WST Web Page Editor plugin. This plugin provides functionality while allowing you to view something very similar to your end outcome before the project has been completed. To download the necessary plugin, follow this link: http://kb.zend.com/index.php?View=entry&EntryID=419.                  

For more information on adding a plugin see Update Manager.

 

 

Instructions on how to complete a procedure

To open an HTML file with the PHP/HTML WYSIWYG Editor: (studio6)

  1. Right-click the file in PHP Explorer view.

  2. Select Open With | PHP/HTML WYSIWYG Editor.

  3. Click Yes when asked whether to open the PHP/HTML WYSIWYG Perspective.

Your file will be opened in a PHP/HTML WYSIWYG Editor, containing the following tabs:

  • Design - Shows a visual outline of the text and HTML objects.

  • Source - Shows the source code.

  • Design/Source - Shows a split screen with both Design and Source displays.

  • Preview - Shows a preview of what the page would look like in a browser.

Note:

More information about writing HTML can be found at: http://www.w3schools.com/html