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

Defining a New Web Site

All Web sites have a root directory. The root of your Web site is the main directory that contains files and other directories. When you define a Web site, Dreamweaver considers that directory and all the files within it to be the entire “universe” of that particular Web site. If you attempt to insert an image from outside this universe, Dreamweaver will prompt you to save the file inside the Web site.

Dreamweaver isn't overly controlling! The program needs to define the internal realm of your Web site so that it knows how to reference other files. For instance, if an image is located in an images directory within the defined site, Dreamweaver knows how to properly reference the image within a Web page. If, however, the image is somewhere outside of the defined site, Dreamweaver can't reference it properly and you will end up with bad links in your Web site. You'll learn more about how Dreamweaver addresses files in Hour 4, “Setting Lots o' Links: Hyperlinks, URLs, Anchors, and Mailto Links.”


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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