• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 6. Managing Your Site > Adding New Folders and Files to a Site

Adding New Folders and Files to a Site

You can create new folders and pages in your site directly from the Site window. This allows you to quickly set up your site's file and folder structure. You can immediately create pages that act as placeholders and go back to add their contents at a later time.

1.
In the Local Folder pane of the Site window expand the Lesson_06_Sites folder and Control-click (Macintosh) or right-click (Windows) on the right of the title for the Lesson_06_Sites folder.

A context menu opens, displaying a variety of options relative to the selected file or to the entire site if no file is selected.

NOTE

You can access this context menu at anytime using Control-click (Macintosh) or right-click (Windows). The options available to you in this menu will change depending on the item you have selected. The context menu is a quick way to access many of Dreamweaver's functions and can help speed up your production.

2.
Choose New Folder from the context menu.

A new, untitled folder is added within the Lesson_06_Sites folder. Since you just created the folder, the name is highlighted and displayed with a heavy line around the text field to indicate that you are able to name the folder.

3.
Type history and press Return (Macintosh) or Enter (Windows) to name the new folder.

The new folder displays the name you have just given it.

TIP

Clicking elsewhere in the Site window will cause the name to become deselected. If that happens and you need to type the name of the folder, you will need to click the name of the folder, pause, and then click it again. Don't double-click: you don't want to open the folder. You just need to select the title so you can edit it.

4.
In the Local Folder pane of the Site window, Control-click (Macintosh) or right-click (Windows) on the right of the title for the history folder you just created in the Lesson_06_Sites folder.

You are clicking next to the folder in which you want a new folder or file to appear.

The context menu opens.

5.
Choose New File from the context menu.

A new, unnamed document is created in the history folder. The name field is highlighted, indicating that you need to type a name for this document.

6.
Type background.html and press Return (Macintosh) or Enter (Windows) to name the new file.

Don't forget to include the .html extension for the filename. All HTML documents must have the .html (or .htm) extension.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint