How to Run HTML in the Eclipse Window

The Eclipse software development program includes Web development tools natively. These tools allow you to create and edit HTML documents. The Web development tools also include a built-in Web browser. You can view how an HTML document will look without switching between programs. You can use the Web browser to check for errors and to make sure the Web page looks exactly the way you want it to before placing it on the server.

Instructions

  1. Create the HTML Document

    • 1

      Open the Eclipse Development Environment.

    • 2

      Click on the "File" menu at the top of the window.

    • 3

      Highlight the "New" menu option.

    • 4

      Click on HTML Page to use the HTML editor.

    • 5

      Select the parent directory and name the HTML file using the html, htm, xhtml, htpl, wml, shtml, or shtm file extension.

    • 6

      Create the HTML document in the blank text area that appears in the center of the screen.

    View the HTML Document

    • 7

      Right-click on the name in the Project Explorer frame on the left side of the screen.

    • 8

      Highlight the "Open With" menu option.

    • 9

      Click on the "Web browser" menu option. The Web page will be displayed in the Web browser that appears in a new tab in the center of the screen.

Related Searches:

References

Resources

Comments

Related Ads

Featured