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

Defining a New Website

Every website has a root directory. The root of a website is the main directory that contains files and other directories. When you define a website, Dreamweaver considers that directory and all the files within it to be the entire “universe” of that particular website. If you attempt to insert an image from outside this universe, Dreamweaver prompts you to save the file inside the website.

Dreamweaver isn't overly controlling, though! The program needs to define the internal realm of your website so it knows how to reference other files. For instance, if an image is located in an images directory within the site, Dreamweaver knows how to properly reference the image within a web page. If, however, the image is somewhere outside the defined site, Dreamweaver might not be able to reference it properly, and you might end up with bad links in your website. You'll learn more about how Dreamweaver links to files in Hour 5, “Setting Lots o' Links: Hyperlinks, 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