This page describes how to add a new HTML or CSS file to an Aptana project.
Contents |
Introduction
When you create a new HTML or CSS file, you can either add them to an existing project, or create them as standalone files as part of the file system on your computer.
- To work with files as part of a project, click the Project tab to open the Project View.
- To work with standalone files, click the File tab to open the File View.
Instructions
Adding a new HTML or CSS file in the Project View
To add a new HTML or CSS file to a project:
- In the Project View, right-click your project, and select New > HTML or New > CSS to go to the New HTML Page or New Cascading Style Sheet window.
- On the New HTML Page or New Cascading Style Sheet window, specify the parent folder in the text box at the top of the screen.
- In the File Name text box, type the name of your new file. Be sure to add the ".html" or ".css" extension.
- Click the Finish button.
Aptana creates the new file and adds it to your project.
Adding a new HTML or CSS file in the File View
To create a new standalone HTML or CSS file:
- From the File menu, select New > Untitled HTML File or Untitled CSS File to open a new blank file in the HTML Editor or CSS Editor.
- Click the Save button and save the file to a folder in your file system.
Related Topics
- Creating a new Aptana project
- Creating your first Aptana project
- Creating a new JavaScript file
- About using a Strict vs. Transitional DOCTYPE in HTML (Includes how to Switch from HTML to XHTML)