Home > Articles > Graphics & Web Design > Dreamweaver & Flash

  • Print
  • + Share This
This chapter is from the book

Creating New Files in the Files Panel

You can create new files and new folders right in the Dreamweaver Files panel. Right-click (Control+click on the Mac) in the Files panel to open the Files panel menu. This context menu has two commands of interest at the top: New File and New Folder. You'll use those commands to create files and folders (also called directories) in the Files panel.

The Web sites you create will need directories, and probably every site will have an images directory for all the images in the site. Create an images directory by using the New Folder command. An untitled folder is added to your site. Give this folder the name images. You need to be careful about what is selected when you select the New Folder command so that you do not nest the folder within another folder. To add a folder at the site root, select the top line, which begins with the word Site.

Now try adding a new file to your site. Right-click (or Control+click) on the root folder, the top line in the Files panel, which lists the name of the site, and select the New File command. A new untitled Web page is created in the Web site. Title the Web page index.htm, which is one of the popular default page names for many servers. Using the default page name enables the user to find your page more easily by just entering a basic Web page address without the specific page appended. Another common default page name is index.html. Both the .htm and the .html file extensions are acceptable. The .htm file extension became popular because the older versions of Microsoft Windows could only handle three-character file extensions; this is no longer a limitation in newer versions of Windows. After you add the new folder and a new file, the site should look as shown in Figure 3.7.

Figure 3.7Figure 3.7 You can add files and folders in Dreamweaver's Files panel.

  • + Share This
  • 🔖 Save To Your Account