Creating Your Initial Files


In this lesson you will learn to add files and folders to your Local Root Folder via the Site Window.

  1. You could go to the trouble of Navigating to Site > Site Files View > New File

    But please don't




  2. Just Control-click on the Local Root Folder (see explanation and movie below)

    Hold down the Control key
    While holding down Control, click on the Local Root Folder (as shown) to access the contextual menu
         (this is the same as a right-click for PC users)
    Select New File from the contextual menu


    CLICK ARROW TO PLAY MOVIE


  3. Type index.html (in lower case) and hit return

    Note: You must add the proper suffix or Dreamweaver will not recognize your files correctly




  4. Control-click on the Root Folder again and select New Folder from the contextual menu




  5. The folder appears, already highlighted, ready to be renamed




  6. Don't hit Delete, just type
    In this case, type: images (in lower case) and hit Return



    Note: Folders have no suffix


  7. In the Site Window, double-click on index.html and the page opens (as shown below)




  8. Since we're not quite ready to work on this page, close the window (Command-W)


  9. Control-click on your Root Folder again and select New File from the contextual menu

    Name it about_this site.html (before you object to the missing underscore, see the * below)



    *You may have noticed that I asked you to name the last file incorrectly
      We will correct that mistake in another lessons
      There's a right and a wrong way to rename files—we'll use this file to learn the right way

    Note: Two important things to remember when naming files in for the Web:


          • Use only lower case letters or numerals (no caps or #%!)
         
    • Use an underscore (_) in place of the spacebar (no spaces)

 

Congratulations! You've just created and named your new files.

 

<< Back