A web page usually contains text and images, and can also include more sophisticated elements such as sound, animation, and video. A website is essentially a set of web pages linked together. The files in a website may be hierarchically organized into directories, which may contain images and related web documents.
Document Management and File Structure
While there are several different ways a site can be constructed, ours will have a simple hierarchical structure. Within the site folder, we will have six HTML files, a CSS file, and a folder containing images. The diagram below illustrates the file structure of the sample website:
NOTE: The terms "folder" and "directory" are used interchangeably throughout this document.
Local Versus Remote Sites
Before a website is published on the web, the working version of the website files is known in Dreamweaver as the local site, because the files are typically only on the computer's hard drive. The version of the site that is published, or located on a remote web server and viewable on the web, is referred to as the remote site.
Defining a Site Locally
We'd like to use Dreamweaver's site management and organization tools, which can be accessed by defining a site. In order to define a site, we need to indicate where on our computer we are going to store the files that belong to that site. A folder called dreamweaver has already been created for the site we are going to create today. We would like to let Dreamweaver know that all the files of the site will be stored in this folder.
NOTE: The video demonstrates the next section of content.
Description of the video:
>> Now what we're going to do first before we start building our site is define a site in Dreamweaver locally so define our local site on our machine and Dreamweaver has a really nice site management and organization tools that we can use to help define a site in order to define a site we need to indicate where on our computer we're going to store the files that belong to that site we've got a folder called Dreamweaver basics that we're going to use for this example and it's already got the files that we're going to use to create a website we want to let Dreamweaver know that all the files for the site are going to be located in this folder.
Let's go ahead and start defining a site to start that we're going to go up to the menu bar click site and then new site. Will see the site set up dialog box the first thing will want to do is name the site and we're going to give it the name Africa's big five.
Next we'll use the browse feature to let Dreamweaver know which folder contains the files will be using for this site so to look for the folder we're going to look at the right side of the local site folder field you'll see a little tiny folder icon will be clicking that and that will open up our browser window little allow us to choose our root folder.
Once we get in there we'll just need to navigate to wherever our files are for our website for my purposes today I've got a folder on the desktop called class that my Dreamweaver basics folder is and so I'm going to go ahead navigate class and then into Dreamweaver basics.
One time inside the Dreamweaver basics folder if I take a look at the bottom of the Choose root folder dialog box Dreamweaver basics in that folder field to select this folder all I need to do is click the select folder button at the bottom of that I lockbox.
Once we've got our folder defined we can go ahead and. Click save to save our changes. There are other settings we could specify here but for now we're done defining our local site. Once we've defined our site the files that are located in that site folder that we just to find they're located in the Files Panel so we can access these files without leaving Dreamweaver.
Step1. To start to define a site, on the menu bar,
Click Site, Click New Site...
Step2. To name the site, in the Site Name field, type:
Africa's Big Five
Step3. To look for the folder, to the right of the Local Site Folder field,
Setting the Location for the Local Root Folder
When the dialog box opens, it lists a default location. All of our exercise files are contained in the epclass folder, located on the desktop. We'll want to change our location to this folder.
We will start at the desktop, since our exercise file folder, epclass, is located there.
Step1. To move to the desktop,
Step2. To open the epclass folder,
Step3. To indicate which folder should be the local root folder,
Step4. To select the dreamweaver folder,
NOTE for MacOS Users: To select the dreamweaver folder, Click Choose.
Step5. To accept these changes,