# Creating a new HTML or CSS file [edit]

This page describes how to add a new HTML or CSS file to an Aptana project.

## 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:

1. 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.
2. 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.
3. In the File Name text box, type the name of your new file. Be sure to add the ".html" or ".css" extension.
4. 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:

1. 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.
2. 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)

Retrieved from "http://aptana.com/docs/index.php/Creating_a_new_HTML_or_CSS_file"

Category: AptanaHelp